Преглед на файлове

去除无效资源

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) { } else if (to.path.indexOf('/homesteadSurvey') !== -1) {
next(`/homesteadLogin`) next(`/homesteadLogin`)
} else if (to.path.indexOf('/lawEnforcement') !== -1) { } else if (to.path.indexOf('/lawEnforcement') !== -1) {
next(`//lawEnforcement/login`)
next(`/lawEnforcement/login`)
} else if (to.path.indexOf('/sunVillage') !== -1) { } else if (to.path.indexOf('/sunVillage') !== -1) {
next(`/sunVillage/login`) next(`/sunVillage/login`)
} else if (to.path.indexOf('/homestead/') !== -1) {
next(`/homestead/login`)
} else { } else {
next(`/yinnongLogin`) next(`/yinnongLogin`)
//next({ path: '/' }) //next({ path: '/' })


Зареждане…
Отказ
Запис