#
whycq
2022-10-08 4904131ce6f08847169bf7530cc0c7d22cbe6366
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();
               }
            });
         },