完善功能

This commit is contained in:
liuyuan
2025-07-08 14:20:36 +08:00
parent 6b63bdc466
commit 2c99d9dbbf
2 changed files with 17 additions and 2 deletions

View File

@@ -182,7 +182,7 @@ export default {
if (res.pageRes.records&&length>0) {
this.show = true;
//如果返回的数据少于每页数量,表示没有更多数据
if(this.count==length||length < this.limit){
if(this.count==length || length < this.limit ||this.count/this.current==this.limit){
this.noMore = true;
}
this.list = [...this.list, ...res.pageRes.records];