From 4ebab6b819bc0731659af8b8e464ac68956643d2 Mon Sep 17 00:00:00 2001 From: zzl <961867786@qq.com> Date: Tue, 11 Jul 2023 17:15:28 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E9=99=A4=E6=97=A0=E6=95=88=E8=B5=84?= =?UTF-8?q?=E6=BA=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/permission.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/permission.js b/src/permission.js index 35e93e40..636b68a9 100644 --- a/src/permission.js +++ b/src/permission.js @@ -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: '/' })