From 2919cb1113d5a76c4618f32857e4bbf1a63144b5 Mon Sep 17 00:00:00 2001 From: yujk <990961482@qq.com> Date: Fri, 10 Jun 2022 14:19:02 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=85=E5=9F=BA=E5=9C=B0app?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/permission.js | 2 +- src/utils/request.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/permission.js b/src/permission.js index 6a80359a..8728a678 100644 --- a/src/permission.js +++ b/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: '/' }) } }) diff --git a/src/utils/request.js b/src/utils/request.js index c967209e..2473047d 100644 --- a/src/utils/request.js +++ b/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';*/ }