From b8e34187f1648bfb2c6dbd25a97ac495bb7c7f55 Mon Sep 17 00:00:00 2001 From: whycq <10027870+whycq@user.noreply.gitee.com> Date: 星期五, 29 七月 2022 10:55:23 +0800 Subject: [PATCH] # --- pages/basics/outPakin.vue | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/pages/basics/outPakin.vue b/pages/basics/outPakin.vue index 80d97bf..d2c5a92 100644 --- a/pages/basics/outPakin.vue +++ b/pages/basics/outPakin.vue @@ -120,6 +120,8 @@ this.baseIP = UIP; const UPORT = uni.getStorageSync('UPORT'); this.basePORT = UPORT + const PROJ = uni.getStorageSync('UPROJ'); + this.baseUrl = PROJ this.getUrl() }, onLoad() { @@ -132,7 +134,7 @@ methods: { // 鑾峰彇url getUrl() { - this.commonUrl = this.baseHttp + this.baseIP + ':' +this.basePORT + this.baseUrl + this.commonUrl = this.baseHttp + this.baseIP + ':' +this.basePORT + "/" +this.baseUrl }, radioChange(evt) { for (let i = 0; i < this.origins.length; i++) { @@ -340,6 +342,7 @@ 'token':uni.getStorageSync('token') }, success(result) { + console.log(result) uni.hideLoading(); // uni.vibrateShort(); let res = result.data -- Gitblit v1.9.1