From 5df158f54eb0c7e0e0ba79eb172aaba42735a221 Mon Sep 17 00:00:00 2001
From: whycq <whycq>
Date: 星期六, 26 二月 2022 17:59:48 +0800
Subject: [PATCH] #
---
pages/login/login.vue | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/pages/login/login.vue b/pages/login/login.vue
index c47ba4f..fadf3bb 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,10 +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) {
@@ -174,7 +174,6 @@
return;
}
uni.showLoading();
- console.log(this.baseIP)
uni.request({
url: this.baseHttp + this.baseIP + this.baseUrl + '/login.action',
data: {
--
Gitblit v1.9.1