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 } ] })