feat : 测试sso单点登录之后的重定向路径

This commit is contained in:
clay
2024-04-29 10:31:18 +08:00
parent 57bfb6f4a0
commit eee3c3852e

View File

@@ -189,7 +189,7 @@ router.beforeEach(async (to, form, next) => {
NProgress.done()
} else {
sessionStorage.setItem('toView', JSON.stringify(to))
next({path: '/cas/login'})
next({path: '/api/auth/cas/login'})
}
} else {
if (to.path === '/login'|| to.path === '/cas/login') {