From 60c18631eee7032859b18cb7435c1de12e83d0ae Mon Sep 17 00:00:00 2001 From: YM <479443481@qq.com> Date: 星期五, 17 五月 2024 16:21:12 +0800 Subject: [PATCH] 401 --- src/router/index.ts | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/router/index.ts b/src/router/index.ts index 3a6e220..4c1125e 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -7,11 +7,6 @@ history: createWebHashHistory(import.meta.env.BASE_URL), routes: [ { - path: '/login', - name: 'login', - component: Login - }, - { path: '/', component: Layout, children: [ @@ -25,9 +20,14 @@ path: '/dictionary', name: 'dictionary', meta: { auth: true }, - component: () =>import('@/views/components/dictionary.vue') + component: () => import('@/views/components/dictionary.vue') } ] + }, + { + path: '/login', + name: 'login', + component: Login } ] }) -- Gitblit v1.9.1