Merge pull request #4597 from dataease/pr@dev@fix_router_to_resource
fix(路由): 无法路由到资源
This commit is contained in:
commit
98877daa8a
@ -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()
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user