This commit is contained in:
aixianling
2023-05-11 16:16:17 +08:00
parent 971ed77531
commit 11c52de53d

View File

@@ -73,6 +73,7 @@ export default {
getList() {
if (this.current == 1) {
//当current=1时,意味着重新刷新数据
this.list = []
} else if (this.list.length >= this.total && this.total > 0) {
return //当数据总量和列表总量一样时,不用再加载数据
}