From 715e98f510a4c1f024eb8f82044e644ca5c73070 Mon Sep 17 00:00:00 2001
From: whycq <10027870+whycq@user.noreply.gitee.com>
Date: 星期三, 21 九月 2022 15:48:06 +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 129adbb..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">
@@ -59,7 +58,7 @@
</view>
<view class="config-item">
<text>椤圭洰锛�</text>
- <input v-model="PROJECT" type="text" placeholder="jkwms" placeholder-style="font-size:16rpx;text-indent: 10rpx;">
+ <input v-model="PROJECT" type="text" placeholder="lywms" placeholder-style="font-size:16rpx;text-indent: 10rpx;">
</view>
<view class="flex justify-around">
<button class="cu-btn bg-blue lg" @click="configConfirm">纭</button>
@@ -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