From 52c15f14c6a71dda31780ad92e6cbe881a6a635a Mon Sep 17 00:00:00 2001 From: liukangdong <898885815@qq.com> Date: 星期五, 24 一月 2025 15:54:50 +0800 Subject: [PATCH] ll --- h5/pages/applicationRecord/applicationRecord.vue | 18 +++++++++++++----- 1 files changed, 13 insertions(+), 5 deletions(-) diff --git a/h5/pages/applicationRecord/applicationRecord.vue b/h5/pages/applicationRecord/applicationRecord.vue index 6a17869..c7b2b4e 100644 --- a/h5/pages/applicationRecord/applicationRecord.vue +++ b/h5/pages/applicationRecord/applicationRecord.vue @@ -103,13 +103,21 @@ } } }, - onLoad() { - this.getList() + onShow() { + this.pagination.page = 0 + this.list = [] + this.getList() }, onReachBottom() { - if (this.total > 10) { - this.getList() - } + const { + total, + list + } = this + if (list.length < total) { + this.getList() + } else { + this.showToast('鏆傛棤鏇村鏁版嵁') + } }, methods: { handleDetail(id) { -- Gitblit v1.9.3