fix: URL退出后使用URL登陆类型丢失

This commit is contained in:
dataeaseShu 2023-02-21 14:01:58 +08:00
parent 7aeaa55a64
commit 2a5e9cdf3d

View File

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