mirror of
https://github.com/dataease/dataease.git
synced 2025-02-24 11:32:57 +08:00
fix(路由): 无法路由到资源
This commit is contained in:
parent
ba866423bd
commit
d9cfc4dfc5
@ -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