提交 db3a5af2 authored 作者: 王鹏飞's avatar 王鹏飞

chore: update

上级 16048ab5
...@@ -42,10 +42,10 @@ export default class Before { ...@@ -42,10 +42,10 @@ export default class Before {
return return
} }
// 检测权限 // 检测权限
if (window.G.UserInfo.student_info.admission_status !== '1') { // if (window.G.UserInfo.student_info.admission_status !== '1') {
next({ path: '/403' }) // next({ path: '/403' })
return // return
} // }
// 移动端 // 移动端
if (this.isMobile && to.name !== 'mobileIndex') { if (this.isMobile && to.name !== 'mobileIndex') {
next({ path: '/mobile/list' }) next({ path: '/mobile/list' })
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论