修改bug
This commit is contained in:
@@ -65,6 +65,9 @@ import isMobile from "./store/isMobile";
|
||||
// 路由拦截
|
||||
router.beforeEach(function (to, from, next) {
|
||||
let toName = to.name
|
||||
if (toName === 'CheckPage') {
|
||||
next()
|
||||
}
|
||||
let token = store.state.token
|
||||
let path = to.path;
|
||||
let requireAuth = to.meta.requireAuth;
|
||||
@@ -112,6 +115,7 @@ router.beforeEach(function (to, from, next) {
|
||||
localStorage.setItem('routerParam', param)
|
||||
}
|
||||
// 返回值为登录状态
|
||||
// 单点登录
|
||||
/** 判断是不是在手机端操作 */
|
||||
if (isMobile()) {
|
||||
if(toName === 'processCenter'){
|
||||
|
||||
Reference in New Issue
Block a user