From a367484988c18b8c0c5987295f0fef8fa2a27d4d Mon Sep 17 00:00:00 2001 From: whycq <10027870+whycq@user.noreply.gitee.com> Date: 星期三, 21 九月 2022 17:06:26 +0800 Subject: [PATCH] # --- pages/login/login.vue | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/pages/login/login.vue b/pages/login/login.vue index ee79c73..1eb30aa 100644 --- a/pages/login/login.vue +++ b/pages/login/login.vue @@ -44,7 +44,6 @@ </view> </scroll-view> - <view> <uni-popup ref="popup" type="right"> <view class="config"> @@ -205,7 +204,6 @@ uni.setStorageSync('UPORT',this.basePORT) this.baseUrl = this.PROJECT uni.setStorageSync('UPROJ',this.baseUrl) - this.$refs.popup.close() }, longpressImg() { // 闀挎寜鍥剧墖 @@ -269,7 +267,6 @@ duration: 1000 }); },6000) - console.log(this.baseUrl) uni.request({ url: this.baseHttp + this.baseIP + ':' +this.basePORT +"/" +this.baseUrl + '/login.action', data: { @@ -280,6 +277,7 @@ "content-type": "application/json" }, success: (result) => { + console.log(result); let res = result.data; uni.hideLoading(); if (res.code == 200) { @@ -296,6 +294,7 @@ uni.removeStorageSync('HCpassw'); } uni.setStorageSync('token', res.data.token); + console.log('...'); setTimeout(() => { uni.navigateBack(); // 灏忕▼搴忕敤杩欎釜 鎶婇椤佃矾鐢辨斁绗竴涓� uni.reLaunch({ -- Gitblit v1.9.1