From 69e3fd1365fa110a58070d3e725db9137fcb191d Mon Sep 17 00:00:00 2001 From: Cxx0822 <1556464090@qq.com> Date: Fri, 11 Sep 2026 17:27:58 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=A2=9E=E5=8A=A0=E5=8A=A0=E8=BD=BD?= =?UTF-8?q?=E4=B8=AD=E9=81=AE=E7=BD=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/index/index.vue | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/pages/index/index.vue b/src/pages/index/index.vue index d88e0cc..8bbab26 100644 --- a/src/pages/index/index.vue +++ b/src/pages/index/index.vue @@ -172,10 +172,17 @@ const dataList = ref([]) watch(() => recordStore.isRefresh, () => paging.value.reload()) function queryList(pageNo, pageSize) { + wx.showLoading({ + title: '加载中...', + mask: true + }) + recordStore.getRecordListByPageApi(pageNo, pageSize).then(res => { paging.value.complete(res.records); }).catch(res => { paging.value.complete(false); + }).finally(() => { + wx.hideLoading() }) }