打开token验证
This commit is contained in:
parent
d8fc25165c
commit
a43fc272e2
@ -104,13 +104,13 @@ router.beforeEach((to, from, next) => {
|
||||
if (router.options.isAddDynamicMenuRoutes || fnCurrentRouteType(to, globalRoutes) === 'global') {
|
||||
next()
|
||||
} else if (fnIsInRoutes(to, dingtalkRoutes)) {//判断是否全屏路由
|
||||
/*if(fnCheckToken()){
|
||||
if(fnCheckToken()){
|
||||
next()
|
||||
} else {
|
||||
clearLoginInfo()
|
||||
next({ name: 'login' })
|
||||
}*/
|
||||
next()
|
||||
}
|
||||
//next()
|
||||
/*console.log(to)
|
||||
let newpage = router.resolve({
|
||||
name: to.path,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user