Merge branch 'role' of http://git.feashow.cn/clay/mosr-web into role

This commit is contained in:
lilinyuan
2024-05-09 15:29:05 +08:00

View File

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