From 2a39aa8035613ddcb00ab2edd2d3aea046b0c838 Mon Sep 17 00:00:00 2001
From: Junjie <xjj@123>
Date: 星期六, 14 六月 2025 10:17:14 +0800
Subject: [PATCH] #
---
pages/basics/matSelect.vue | 22 ++++++++++++++++++++--
1 files changed, 20 insertions(+), 2 deletions(-)
diff --git a/pages/basics/matSelect.vue b/pages/basics/matSelect.vue
index 927d569..7267e48 100644
--- a/pages/basics/matSelect.vue
+++ b/pages/basics/matSelect.vue
@@ -52,16 +52,33 @@
},
onLoad() {
let that = this
- // const eventChannel = this.$scope.eventChannel; // 鍏煎APP-NVUE
+ // #ifdef APP-NVUE
+ const eventChannel = this.$scope.eventChannel; // 鍏煎APP-NVUE
+ // #endif
+ // #ifndef APP-NVUE
const eventChannel = this.getOpenerEventChannel();
+ // #endif
// 鐩戝惉acceptDataFromOpenerPage浜嬩欢锛岃幏鍙栦笂涓�椤甸潰閫氳繃eventChannel浼犻�佸埌褰撳墠椤甸潰鐨勬暟鎹�
eventChannel.on('commonUrl', function(data) {
- that.commonUrl = data.commonUrl
that.showTag(1)
})
+
+ },
+ mounted(){
+ const UIP = uni.getStorageSync('UIP');
+ this.baseIP = UIP;
+ const UPORT = uni.getStorageSync('UPORT');
+ this.basePORT = UPORT
+ const PROJ = uni.getStorageSync('UPROJ');
+ this.baseUrl = PROJ
+ this.getUrl()
},
methods: {
+ // 鑾峰彇url
+ getUrl() {
+ this.commonUrl = this.baseHttp + this.baseIP + ':' +this.basePORT + "/" +this.baseUrl
+ },
checkbox() {
},
@@ -104,6 +121,7 @@
}
}
});
+
},
showTag(parentId) {
let that = this
--
Gitblit v1.9.1