Pārlūkot izejas kodu

去除无效资源

rongxin_prod
张泽亮 pirms 1 gada
vecāks
revīzija
4ebab6b819
1 mainītis faili ar 1 papildinājumiem un 3 dzēšanām
  1. +1
    -3
      src/permission.js

+ 1
- 3
src/permission.js Parādīt failu

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


Notiek ielāde…
Atcelt
Saglabāt