浏览代码

去除无效资源

rongxin_prod
张泽亮 1年前
父节点
当前提交
4ebab6b819
共有 1 个文件被更改,包括 1 次插入3 次删除
  1. +1
    -3
      src/permission.js

+ 1
- 3
src/permission.js 查看文件

@@ -227,11 +227,9 @@ router.beforeEach((to, from, next) => {
} else if (to.path.indexOf('/homesteadSurvey') !== -1) {
next(`/homesteadLogin`)
} else if (to.path.indexOf('/lawEnforcement') !== -1) {
next(`//lawEnforcement/login`)
next(`/lawEnforcement/login`)
} else if (to.path.indexOf('/sunVillage') !== -1) {
next(`/sunVillage/login`)
} else if (to.path.indexOf('/homestead/') !== -1) {
next(`/homestead/login`)
} else {
next(`/yinnongLogin`)
//next({ path: '/' })


正在加载...
取消
保存