From 9c34e8cc2ff136db5c27a5adc2eb2e140ac0580a Mon Sep 17 00:00:00 2001
From: whycq <you@example.com>
Date: 星期日, 01 一月 2023 06:17:15 +0800
Subject: [PATCH] #
---
pages/login/login.vue | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/pages/login/login.vue b/pages/login/login.vue
index ce0b9d9..cdac97e 100644
--- a/pages/login/login.vue
+++ b/pages/login/login.vue
@@ -45,11 +45,11 @@
loading: false,
btnText: '鐧诲綍'
},
- baseUrl: 'http://127.0.0.1:9528'
}
},
onLoad:function(){
this.user.userName = uni.getStorageSync('userName')
+ this.user.password = uni.getStorageSync('password')
// #ifdef APP-PLUS
var that=this
plus.runtime.getProperty( plus.runtime.appid, function ( wgtinfo ) {
@@ -88,7 +88,7 @@
that.load.btnText = '鐧诲綍涓�';
uni.setStorageSync('token', res.data.token);
uni.setStorageSync('userName', that.user.userName);
- uni.setStorageSync('baseUrl',that.baseUrl)
+ uni.setStorageSync('password', that.user.password);
setTimeout(()=> {
uni.showToast({title: '鐧诲綍鎴愬姛'})
setTimeout(()=> {
--
Gitblit v1.9.1