From 77737f4e73f7267170b9b06fc73d1610c29c0661 Mon Sep 17 00:00:00 2001
From: 马宇豪 <978517621@qq.com>
Date: 星期二, 12 十一月 2024 13:18:35 +0800
Subject: [PATCH] 新增

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

diff --git a/src/router/index.ts b/src/router/index.ts
index c562cd5..5971416 100644
--- a/src/router/index.ts
+++ b/src/router/index.ts
@@ -83,7 +83,10 @@
         } else if (token && to.path === '/newMenu') {
             next();
             NProgress.done();
-        } else {
+        } else if (token && (to.path === '/warningScreen' || to.path === '/screenPage')) {
+            next();
+            NProgress.done();
+        }else {
             const storesRoutesList = useRoutesList(pinia);
             const { routesList } = storeToRefs(storesRoutesList);
             if (routesList.value.length === 0) {

--
Gitblit v1.9.2