diff --git a/pages/doctors/index.vue b/pages/doctors/index.vue index 3b673937..e992d948 100644 --- a/pages/doctors/index.vue +++ b/pages/doctors/index.vue @@ -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]; diff --git a/pages/home/index.vue b/pages/home/index.vue index 6ac239a2..cfdb9f0c 100644 --- a/pages/home/index.vue +++ b/pages/home/index.vue @@ -123,6 +123,7 @@ + 本回答由AI生成,内容仅供参考。