瀏覽代碼

宅基地app

wulanhaote
yujk 3 年之前
父節點
當前提交
2919cb1113
共有 2 個文件被更改,包括 3 次插入3 次删除
  1. +1
    -1
      src/permission.js
  2. +2
    -2
      src/utils/request.js

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

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


+ 2
- 2
src/utils/request.js 查看文件

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


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


Loading…
取消
儲存