From 3943ca967f32343d35f9d384669fc7db29863d1d Mon Sep 17 00:00:00 2001
From: 马宇豪 <978517621@qq.com>
Date: 星期五, 20 十月 2023 15:48:07 +0800
Subject: [PATCH] 修复问题

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

diff --git a/src/router/index.ts b/src/router/index.ts
index efe48a5..784be70 100644
--- a/src/router/index.ts
+++ b/src/router/index.ts
@@ -75,7 +75,8 @@
         NProgress.done();
     } else {
         if (!token) {
-            next(`/login?redirect=${to.path}&params=${JSON.stringify(to.query ? to.query : to.params)}`);
+            // next(`/login?redirect=${to.path}&params=${JSON.stringify(to.query ? to.query : to.params)}`);
+            next(`/login`);
             Session.clear();
             NProgress.done();
             // next()

--
Gitblit v1.9.2