浏览代码

宅基地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) {
next(`/homestead/login`)
} else {
next(`/zjdLogin`)
next(`/homesteadLogin`)
//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) {
window.location.href = '/homestead/login';
} else {
// 农村宅基地调查
window.location.href = '/zjdLogin';
window.location.href = '/homesteadLogin';
//window.location.href = '/zjdLogin';

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


正在加载...
取消
保存