From 11539543075b17d64a2b8d2c4a085634ba683eed Mon Sep 17 00:00:00 2001
From: shj <1790240199@qq.com>
Date: 星期五, 15 七月 2022 16:47:05 +0800
Subject: [PATCH] Merge branch 'master' of https://sinanoaq.cn:8888/r/gtqtOut

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

diff --git a/src/router/index.ts b/src/router/index.ts
index c789ab0..2ac53da 100644
--- a/src/router/index.ts
+++ b/src/router/index.ts
@@ -65,7 +65,7 @@
 }
 
 // isRequestRoutes 为 true,则开启后端控制路由,路径:`/src/stores/themeConfig.ts`
-if (!isRequestRoutes) initFrontEndControlRoutes();
+// if (!isRequestRoutes) initFrontEndControlRoutes();
 
 // 路由加载前
 router.beforeEach(async (to, from, next) => {
@@ -81,7 +81,7 @@
 			Session.clear();
 			NProgress.done();
 		} else if (token && to.path === '/login') {
-			next('/home');
+			next('/homeMenu');
 			NProgress.done();
 		} else {
 			const storesRoutesList = useRoutesList(pinia);

--
Gitblit v1.9.2