优化加载下一页

This commit is contained in:
weicw
2023-08-23 18:34:13 +08:00
parent 45be0a84fd
commit ed6fea7bd1
3 changed files with 4 additions and 4 deletions

View File

@@ -198,7 +198,7 @@
return d
})
// 合并新数据
app.list = app.list.concat(list)
app.list.push.apply(app.list,list);
if (result.data.count > app.list.length) {
app.canReset = true
} else {

View File

@@ -194,7 +194,7 @@
return d
})
// 合并新数据
app.list = app.list.concat(list)
app.list.push.apply(app.list,list);
if (result.data.count > app.list.length) {
app.canReset = true
} else {