Merge pull request 'feat : 测试sso单点登录之后的重定向路径' (#106) from master into prod

Reviewed-on: http://git.feashow.cn/clay/mosr-web/pulls/106
This commit is contained in:
clay
2024-04-29 02:31:44 +00:00

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') {