From 1e40a94e41a811a30b49150b5feabe9b7797948a Mon Sep 17 00:00:00 2001
From: whycq <913841844@qq.com>
Date: 星期二, 14 五月 2024 08:23:06 +0800
Subject: [PATCH] #

---
 pages/login/login.vue |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/pages/login/login.vue b/pages/login/login.vue
index 78e9ddc..588654c 100644
--- a/pages/login/login.vue
+++ b/pages/login/login.vue
@@ -9,7 +9,7 @@
 		<!-- logo -->
 		<view class="logo">
 			<view class="logo-box">
-				<image src="../../static/img/logo.png" mode="aspectFit"></image>
+				<image src="../../static/img/newLogo.png" mode="aspectFit"></image>
 			</view>
 		</view>
 		<view class="content">
@@ -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,6 +189,9 @@
 						"content-type": "application/json"
 					},
 					success(result) {
+						// uni.reLaunch({
+						// 	url: '../home/menuHome'
+						// });
 						if (result.statusCode === 404) {
 							uni.showToast({
 								title: '鐧诲綍澶辫触',
@@ -211,7 +215,7 @@
 								})
 								setTimeout(() => {
 									uni.reLaunch({
-										url: '../home/home'
+										url: '../home/menuHome'
 									});
 								}, 300)
 							}, 700)

--
Gitblit v1.9.1