Commit c4154489 authored by Facius's avatar Facius

feat: 收费项分页

parent 73a21cbe
Pipeline #3673 canceled with stages
......@@ -92,7 +92,7 @@ export default {
this.loading = true;
}
getRepairServiceTemplate({
page: this.page,
current: this.page,
collectFlag: this.current == 0 ? false : true,
size: this.size,
})
......@@ -101,8 +101,8 @@ export default {
if (this.page == 1) {
this.charges = [];
}
if (data) {
this.charges.push(...data);
if (data.records) {
this.charges.push(...data.records);
this.loadStatus = data.total > this.charges.length ? 'loadmore' : 'nomore';
} else {
this.loadStatus = 'nomore'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment