From 2c99d9dbbf6acce3b3f3a8e03d4e39a04cb1b8fe Mon Sep 17 00:00:00 2001 From: liuyuan <582976274@qq.com> Date: Tue, 8 Jul 2025 14:20:36 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/doctors/index.vue | 2 +- pages/home/index.vue | 17 ++++++++++++++++- 2 files changed, 17 insertions(+), 2 deletions(-) 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生成,内容仅供参考。