From b94daf4ea357eafce26f37a1f0a799d55cbfa1a4 Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期一, 24 二月 2025 16:38:21 +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