From 4904131ce6f08847169bf7530cc0c7d22cbe6366 Mon Sep 17 00:00:00 2001
From: whycq <123456>
Date: 星期六, 08 十月 2022 09:05:30 +0800
Subject: [PATCH] #

---
 pages/basics/matSelect.vue |   11 +++++------
 1 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/pages/basics/matSelect.vue b/pages/basics/matSelect.vue
index 5f00086..d7465e4 100644
--- a/pages/basics/matSelect.vue
+++ b/pages/basics/matSelect.vue
@@ -105,7 +105,7 @@
 			},
 			showTag(parentId) {
 				let that = this
-				
+				uni.showLoading();
 				uni.request({
 				    url: that.commonUrl + '/tag/list/pda/auth',
 					header: {
@@ -119,7 +119,7 @@
 						'token':uni.getStorageSync('token'),
 					},
 					success(result) {
-						uni.showLoading();
+						uni.hideLoading();
 						that.tag = null
 						that.data = null
 						var res = result.data
@@ -139,12 +139,11 @@
 						} else {
 							uni.showToast({title: res.msg, icon: "none",position: 'top'})
 						}
-						uni.hideLoading();
+						
 					}
 				});
 			},
 			showMat(tagId) {
-				uni.vibrateShort();
 				uni.showLoading();
 				let that = this
 				if (tagId == null || tagId == '' || tagId == undefined) {
@@ -160,7 +159,7 @@
 						'token':uni.getStorageSync('token'),
 				    },
 					success(result) {
-						
+						uni.hideLoading();
 						that.tag = null
 						var res = result.data
 						if (res.code === 200) {
@@ -180,7 +179,7 @@
 						} else {
 							uni.showToast({title: res.msg, icon: "none",position: 'top'})
 						}
-						uni.hideLoading();
+			
 					}
 				});
 			},

--
Gitblit v1.9.1