From c8dc3d4f33e7548e2d02ba14e9cb770afda5df2b Mon Sep 17 00:00:00 2001 From: whycq <whycq> Date: 星期四, 24 二月 2022 17:05:41 +0800 Subject: [PATCH] # --- pages/login/login.vue | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/pages/login/login.vue b/pages/login/login.vue index 44a0b79..82bb028 100644 --- a/pages/login/login.vue +++ b/pages/login/login.vue @@ -113,6 +113,7 @@ const UIP = uni.getStorageSync('UIP'); if (UIP) { that.IP = UIP; + that.baseIP = UIP; } else { that.IP = ''; } @@ -148,9 +149,9 @@ this.$refs.inputDialog.open() }, dialogInputConfirm(type){ - this.UIP = type - uni.setStorageSync('UIP',type) this.baseIP = type + // 瀛樺叆鏈湴缂撳瓨 + uni.setStorageSync('UIP',this.baseIP) }, checkboxChange: function(e) { if (e.detail.value.length == 1) { @@ -173,6 +174,7 @@ return; } uni.showLoading(); + console.log(this.baseIP) uni.request({ url: this.baseHttp + this.baseIP + this.baseUrl + '/login.action', data: { -- Gitblit v1.9.1