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() } }