From 88d7869b422a1070a0ea8efd22613997e9dbe2fe Mon Sep 17 00:00:00 2001
From: zhouwenxuan <1175765986@qq.com>
Date: 星期三, 29 十一月 2023 10:04:52 +0800
Subject: [PATCH] 后台管理页面、菜单配置

---
 src/views/components/loginForm.vue |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/src/views/components/loginForm.vue b/src/views/components/loginForm.vue
index 08b6651..2f5995e 100644
--- a/src/views/components/loginForm.vue
+++ b/src/views/components/loginForm.vue
@@ -135,7 +135,11 @@
           }
           return acc;
         }, {});
-        router.push({ path: redirect.value || "/", query: otherQueryParams });
+        const routers = JSON.parse(Cookies.get('routers'))
+          router.push({
+              path: routers[0].path
+          })
+        // router.push({ path: redirect.value || "/", query: otherQueryParams });
       }).catch(() => {
         loading.value = false;
         // 重新获取验证码

--
Gitblit v1.9.2