Procházet zdrojové kódy

宅基地app

wulanhaote
yujk před 3 roky
rodič
revize
2919cb1113
2 změnil soubory, kde provedl 3 přidání a 3 odebrání
  1. +1
    -1
      src/permission.js
  2. +2
    -2
      src/utils/request.js

+ 1
- 1
src/permission.js Zobrazit soubor

@@ -157,7 +157,7 @@ router.beforeEach((to, from, next) => {
}else if (to.path.indexOf('/homestead/') !== -1) {
next(`/homestead/login`)
} else {
next(`/zjdLogin`)
next(`/homesteadLogin`)
//next({ path: '/' })
}
})


+ 2
- 2
src/utils/request.js Zobrazit soubor

@@ -94,8 +94,8 @@ service.interceptors.response.use(res => {
} else if (window.location.href.indexOf('/homestead/') != -1) {
window.location.href = '/homestead/login';
} else {
// 农村宅基地调查
window.location.href = '/zjdLogin';
window.location.href = '/homesteadLogin';
//window.location.href = '/zjdLogin';

/*window.location.href = '/index';*/
}


Načítá se…
Zrušit
Uložit