From 324f55c30a93b1498b04302757cbb604a42609f5 Mon Sep 17 00:00:00 2001 From: whycq <whycq> Date: 星期二, 22 二月 2022 13:47:42 +0800 Subject: [PATCH] # --- pages/login/login.vue | 15 +++------------ 1 files changed, 3 insertions(+), 12 deletions(-) diff --git a/pages/login/login.vue b/pages/login/login.vue index 9395568..44a0b79 100644 --- a/pages/login/login.vue +++ b/pages/login/login.vue @@ -89,7 +89,6 @@ url: { bindingThirdPhone: '/sys/thirdLogin/bindingThirdPhone' }, - baseIP:'', type:'', userName:'', password:'', @@ -112,13 +111,11 @@ that.password = ''; } const UIP = uni.getStorageSync('UIP'); - console.log(UIP) if (UIP) { that.IP = UIP; } else { that.IP = ''; } - }, onLoad:function(){ // #ifdef APP-PLUS @@ -151,16 +148,11 @@ this.$refs.inputDialog.open() }, dialogInputConfirm(type){ - this.baseUrl=type - this.IP = type this.UIP = type uni.setStorageSync('UIP',type) - console.log(this.IP) - console.log(this.baseUrl) - console.log(this.UIP) - }, + this.baseIP = type + }, checkboxChange: function(e) { - console.log(e.detail.value.length); if (e.detail.value.length == 1) { //鑾峰彇缂撳瓨鐨勮处鍙� @@ -182,7 +174,7 @@ } uni.showLoading(); uni.request({ - url: 'http://'+ this.baseUrl + ':8082/xgmwms' + '/login.action', + url: this.baseHttp + this.baseIP + this.baseUrl + '/login.action', data: { mobile:this.userName, password:md5.hex_md5(this.password) @@ -228,7 +220,6 @@ var info = plus.push.getClientInfo(); var cid = info.clientid; this.$http.get("/sys/user/saveClientId",{params:{clientId:cid}}).then(res=>{ - console.log("res::saveClientId>",res) this.$tip.success('鐧诲綍鎴愬姛!') this.$Router.replaceAll({name:'index'}) }) -- Gitblit v1.9.1