Merge branch 'role' of http://git.feashow.cn/clay/mosr-web into role
This commit is contained in:
@@ -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') {
|
||||||
|
|||||||
Reference in New Issue
Block a user