From 962b50c58587213e758b127a52bc38c917592dc6 Mon Sep 17 00:00:00 2001 From: litian <2804272236@qq.com> Date: 星期二, 21 五月 2024 11:20:56 +0800 Subject: [PATCH] config --- 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