From 9246e993b1ca7d41a721982221af3bcfc910b23c Mon Sep 17 00:00:00 2001
From: whycq <10027870+whycq@user.noreply.gitee.com>
Date: 星期一, 15 八月 2022 10:17:05 +0800
Subject: [PATCH] #
---
pages/basics/matSelect.vue | 13 ++++++-------
1 files changed, 6 insertions(+), 7 deletions(-)
diff --git a/pages/basics/matSelect.vue b/pages/basics/matSelect.vue
index 48f24cd..906007d 100644
--- a/pages/basics/matSelect.vue
+++ b/pages/basics/matSelect.vue
@@ -48,7 +48,7 @@
baseHttp:'http://',
baseIP:'',
basePORT:'',
- baseUrl:'/jkwms'
+ baseUrl:'/lywms'
}
},
onLoad() {
@@ -109,21 +109,20 @@
},
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',
+ header: {
+ 'token':uni.getStorageSync('token'),
+ },
data: {
limit: 100000,
parentId: parentId
},
- method:"GET",
- header: {
+ header: {
'token':uni.getStorageSync('token'),
- },
+ },
success(result) {
-
that.tag = null
that.data = null
var res = result.data
--
Gitblit v1.9.1