fix: 新建数据源URL退出后使用URL登陆类型丢失
This commit is contained in:
parent
01cce13e3e
commit
11743009b9
@ -141,7 +141,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.fullPath}`)
|
||||
next(`/login?redirect=${encodeURIComponent(to.fullPath)}`)
|
||||
NProgress.done()
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user