From e220a11760bb56f12da82a18e0b441dfdc588fac Mon Sep 17 00:00:00 2001
From: zhouwenxuan <1175765986@qq.com>
Date: 星期四, 07 十二月 2023 15:30:25 +0800
Subject: [PATCH] bug修改

---
 src/permission.js |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/permission.js b/src/permission.js
index f13cc3c..dc79d74 100644
--- a/src/permission.js
+++ b/src/permission.js
@@ -52,7 +52,8 @@
       // 在免登录白名单,直接进入
       next()
     } else {
-      next(`/homePage?redirect=${to.fullPath}`) // 否则全部重定向到登录页
+      // next(`/homePage?redirect=${to.fullPath}`) // 否则全部重定向到登录页
+      next('/homePage')
       NProgress.done()
     }
   }

--
Gitblit v1.9.2