From 2a5e9cdf3dd63252f22cd9efd4a7e04949187516 Mon Sep 17 00:00:00 2001 From: dataeaseShu <106045316+dataeaseShu@users.noreply.github.com> Date: Tue, 21 Feb 2023 14:01:58 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20URL=E9=80=80=E5=87=BA=E5=90=8E=E4=BD=BF?= =?UTF-8?q?=E7=94=A8URL=E7=99=BB=E9=99=86=E7=B1=BB=E5=9E=8B=E4=B8=A2?= =?UTF-8?q?=E5=A4=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/permission.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/permission.js b/frontend/src/permission.js index c612f949c9..afe2e5421e 100644 --- a/frontend/src/permission.js +++ b/frontend/src/permission.js @@ -127,7 +127,7 @@ router.beforeEach(async(to, from, next) => routeBefore(() => { next() } else { // other pages that do not have permission to access are redirected to the login page. - next(`/login?redirect=${to.path}`) + next(`/login?redirect=${to.fullPath}`) NProgress.done() } }