From d9cfc4dfc50e0d1676b74db787837860b91d65de Mon Sep 17 00:00:00 2001 From: fit2cloud-chenyw Date: Tue, 21 Feb 2023 14:05:36 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E8=B7=AF=E7=94=B1):=20=E6=97=A0=E6=B3=95?= =?UTF-8?q?=E8=B7=AF=E7=94=B1=E5=88=B0=E8=B5=84=E6=BA=90?= 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 96aa5902fd..efcede886b 100644 --- a/frontend/src/permission.js +++ b/frontend/src/permission.js @@ -130,7 +130,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() } }