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 | 14 ++++++--------
1 files changed, 6 insertions(+), 8 deletions(-)
diff --git a/pages/login/login.vue b/pages/login/login.vue
index e2cd849..fadf3bb 100644
--- a/pages/login/login.vue
+++ b/pages/login/login.vue
@@ -89,7 +89,6 @@
url: {
bindingThirdPhone: '/sys/thirdLogin/bindingThirdPhone'
},
- baseIP:'',
type:'',
userName:'',
password:'',
@@ -114,10 +113,10 @@
const UIP = uni.getStorageSync('UIP');
if (UIP) {
that.IP = UIP;
+ that.baseIP = UIP;
} else {
that.IP = '';
}
-
},
onLoad:function(){
// #ifdef APP-PLUS
@@ -150,11 +149,10 @@
this.$refs.inputDialog.open()
},
dialogInputConfirm(type){
- this.baseUrl=type
- this.IP = 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) {
@@ -177,7 +175,7 @@
}
uni.showLoading();
uni.request({
- url: this.baseUrl + '/login.action',
+ url: this.baseHttp + this.baseIP + this.baseUrl + '/login.action',
data: {
mobile:this.userName,
password:md5.hex_md5(this.password)
--
Gitblit v1.9.1