From cea197ee03add9a3279bc65d005f4f56fdab43e0 Mon Sep 17 00:00:00 2001
From: whycq <10027870+whycq@user.noreply.gitee.com>
Date: 星期三, 20 三月 2024 09:37:33 +0800
Subject: [PATCH] #
---
pages/login/login.vue | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/pages/login/login.vue b/pages/login/login.vue
index d27e301..ba5bd5c 100644
--- a/pages/login/login.vue
+++ b/pages/login/login.vue
@@ -168,6 +168,7 @@
this.baseUrl = "http://" + this.url.ip + ':' + this.url.port + '/' + this.url.project
uni.setStorageSync('baseUrl', this.baseUrl);
uni.setStorageSync('url', this.url);
+ uni.setStorageSync('project','tzsk')
this.$refs.inputDialog.close()
},
onLogin() {
@@ -188,9 +189,9 @@
"content-type": "application/json"
},
success(result) {
- uni.reLaunch({
- url: '../home/home'
- });
+ // uni.reLaunch({
+ // url: '../home/menuHome'
+ // });
if (result.statusCode === 404) {
uni.showToast({
title: '鐧诲綍澶辫触',
@@ -214,7 +215,7 @@
})
setTimeout(() => {
uni.reLaunch({
- url: '../home/home'
+ url: '../home/menuHome'
});
}, 300)
}, 700)
--
Gitblit v1.9.1