删除分页

This commit is contained in:
liuye
2022-12-26 16:18:43 +08:00
parent e1aedb6f6f
commit 0792277ebd

View File

@@ -66,11 +66,12 @@ export default {
res.data.records.map(item => { res.data.records.map(item => {
item.isCheck = false item.isCheck = false
}) })
if (this.current > 1) { this.list = res.data.records
this.list = [...this.list, ...res.data.records] // if (this.current > 1) {
} else { // this.list = [...this.list, ...res.data.records]
this.list = res.data.records // } else {
} // this.list = res.data.records
// }
} }
}) })
}, },