From 85dcc74e11a108f7514dc3554cbd090a11935a4b Mon Sep 17 00:00:00 2001
From: Xiaoyu <3306310490@qq.com>
Date: Thu, 20 Feb 2025 00:22:34 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=BA=86=E9=83=A8=E5=88=86bu?=
=?UTF-8?q?g?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
index.html | 4 ++--
src/App.vue | 5 +++++
src/views/login/index.vue | 6 ++++++
3 files changed, 13 insertions(+), 2 deletions(-)
diff --git a/index.html b/index.html
index dde16aa..11104c1 100644
--- a/index.html
+++ b/index.html
@@ -2,9 +2,9 @@
-
+
- Vite + Vue + TS
+ 智慧湿地管理平台
diff --git a/src/App.vue b/src/App.vue
index fae0eec..3a91058 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -1,5 +1,10 @@
diff --git a/src/views/login/index.vue b/src/views/login/index.vue
index 9b4fad6..0c31ee0 100644
--- a/src/views/login/index.vue
+++ b/src/views/login/index.vue
@@ -60,6 +60,12 @@ const handleLogin = async (formEl: any) => {
detail: "用户登录成功",
});
+ // 显示登录成功提示
+ ElMessage.success({
+ message: '登录成功,欢迎回来',
+ duration: 2000
+ });
+
// 获取重定向地址
const redirect = route.query.redirect as string;
router.push(redirect || "/dashboard");