src/permission.js
@@ -53,7 +53,6 @@ if (store.state.user.userInfo.role_name == "培训公司管理员") { next(); setTimeout(() => { next({ path: '/qiandao' }) }, 20); return; @@ -63,7 +62,7 @@ } } else { //判断是否需要认证,没有登录访问去登录页 if (meta.isAuth === false) { if (meta.isAuth === false && to.path !== '/qiandao') { next() } else { next('/login')