From c840be85995d01af27300b96240f51238168d15c Mon Sep 17 00:00:00 2001 From: zhangtao <1176193409@qq.com> Date: Fri, 5 May 2023 17:06:26 +0800 Subject: [PATCH 1/2] add hnlcpath --- src/router/routes/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/router/routes/index.js b/src/router/routes/index.js index cfac4ae..c9dee9b 100644 --- a/src/router/routes/index.js +++ b/src/router/routes/index.js @@ -12,7 +12,7 @@ export const basicRoutes = [ } }, { - path: '/Hunan_CUCC', + path: '/hnlt/refer', component: () => import('@/views/transfer/index.vue'), meta: { title: '中转页' } }, -- 2.27.0 From cc189527a64431353d952a145c7b4c7fce639ec6 Mon Sep 17 00:00:00 2001 From: zhangtao <1176193409@qq.com> Date: Fri, 5 May 2023 17:07:15 +0800 Subject: [PATCH 2/2] add hnlcpath --- src/router/guard/permission-guard.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/router/guard/permission-guard.js b/src/router/guard/permission-guard.js index 1b265d0..aebb522 100644 --- a/src/router/guard/permission-guard.js +++ b/src/router/guard/permission-guard.js @@ -32,7 +32,7 @@ export function createPermissionGuard(router) { } } } else { - if (to.path === '/login' || to.path === '/Hunan_CUCC') { + if (to.path === '/login' || to.path === '/hnlt/refer') { next() } else { signinRedirect() -- 2.27.0