#
whycq
2022-05-27 7a3389aa2e66c8a65ba783da9f3a136b4e062fa2
pages/basics/matSelect.vue
@@ -110,6 +110,7 @@
         showTag(parentId) {
            let that = this
            uni.vibrateShort();
            uni.showLoading();
            uni.request({
               // url: "http://localhost:8081/jkwms/tag/list/pda/auth",
                url: that.baseHttp + that.baseIP + ':' +that.basePORT + that.baseUrl + '/tag/list/pda/auth',
@@ -122,6 +123,7 @@
                  'token':uni.getStorageSync('token'),
                },
               success(result) {
                  that.tag = null
                  that.data = null
                  var res = result.data
@@ -141,6 +143,7 @@
                  } else {
                     uni.showToast({title: res.msg, icon: "none",position: 'top'})
                  }
                  uni.hideLoading();
               }
            });
         },
@@ -165,7 +168,9 @@
                  var res = result.data
                  if (res.code === 200) {
                     if (res.data != null && res.data.length > 0) {
                        uni.showLoading();
                        that.data = res.data
                        uni.hideLoading();
                     } else {
                        // that.tagId = parentId
                     }
@@ -179,6 +184,7 @@
                  } else {
                     uni.showToast({title: res.msg, icon: "none",position: 'top'})
                  }
               }
            });
         },