From 0b324d66bf1233083ebbbccbadcaa99c6c6bff92 Mon Sep 17 00:00:00 2001
From: Your Name <123456>
Date: 星期三, 19 十月 2022 14:20:35 +0800
Subject: [PATCH] 更新

---
 src/router/index.ts |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/src/router/index.ts b/src/router/index.ts
index b49ba96..a99ccfb 100644
--- a/src/router/index.ts
+++ b/src/router/index.ts
@@ -66,7 +66,6 @@
 
 // 路由加载前
 router.beforeEach(async (to, from, next) => {
-    debugger
     if (to.path === '/intelligentLine') {
         next();
     } else {
@@ -82,7 +81,7 @@
                 Session.clear();
                 NProgress.done();
             } else if (token && to.path === '/login') {
-                next('/homeMenu');
+                next('/home');
                 NProgress.done();
             } else {
                 const storesRoutesList = useRoutesList(pinia);

--
Gitblit v1.9.2