完善功能
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user