From 4d83ed9e46e91c3e2c096e2399f7b29cfc2918f8 Mon Sep 17 00:00:00 2001 From: JiangQiming <291854119@qq.com> Date: Tue, 10 Jan 2023 16:54:47 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=B8=89=E6=96=B9=E7=BB=91=E5=AE=9A?= =?UTF-8?q?=E8=81=94=E8=B0=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.ts | 1 - src/router/menu.ts | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/router/index.ts b/src/router/index.ts index cac0740a..2da56030 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -10,7 +10,6 @@ const router = createRouter({ router.beforeEach((to, from, next) => { const token = LocalStore.get(TOKEN_KEY) - next() // 测试用, 可删除 if (token) { next() } else { diff --git a/src/router/menu.ts b/src/router/menu.ts index 2aa45170..69bb086e 100644 --- a/src/router/menu.ts +++ b/src/router/menu.ts @@ -29,7 +29,7 @@ export default [ component: () => import('@/views/demo/index.vue') }, { - path: '/bind', + path: '/account/center/bind', component: () => import('@/views/account/Center/bind/index.vue') }, {