401
YM
2024-05-17 60c18631eee7032859b18cb7435c1de12e83d0ae
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
    }
  ]
})