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