瀏覽代碼

去除无效资源

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: '/' })


Loading…
取消
儲存