From d78a337df4af502f6e886dd4cb1533f2ec02843c Mon Sep 17 00:00:00 2001 From: whycq <10027870+whycq@user.noreply.gitee.com> Date: 星期三, 04 十月 2023 22:59:44 +0800 Subject: [PATCH] # --- pages/mat/matQuery.vue | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/pages/mat/matQuery.vue b/pages/mat/matQuery.vue index e3713f5..da55e82 100644 --- a/pages/mat/matQuery.vue +++ b/pages/mat/matQuery.vue @@ -153,6 +153,7 @@ if (tagId == null || tagId == '' || tagId == undefined) { return; } + uni.showLoading({}) uni.request({ url: that.baseUrl + '/mat/list/pda/page/auth', data: { @@ -168,6 +169,7 @@ that.tagList = null var res = result.data if (res.code === 200) { + uni.hideLoading() if (res.data.records != null && res.data.records.length > 0) { let list = res.data.records that.matList = that.reload ? list : that.matList.concat(list); @@ -178,6 +180,7 @@ } that.baColor = "background-color: #1cbbb4;" } else if (res.code === 403 ) { + uni.hideLoading() uni.showToast({title: res.msg, icon: "none", position: 'top'}) setTimeout(() => { uni.reLaunch({ @@ -185,6 +188,7 @@ }); }, 1000); } else { + uni.hideLoading() uni.showToast({title: res.msg, icon: "none",position: 'top'}) } -- Gitblit v1.9.1