fix: URL退出后使用URL登陆类型丢失
This commit is contained in:
parent
7aeaa55a64
commit
2a5e9cdf3d
@ -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()
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user