闫增涛
2024-06-19 0d70f01c3553b6c33e5ee86f89f8d0fbd42825d5
src/router/index.ts
@@ -9,6 +9,7 @@
    {
      path: '/',
      component: Layout,
      redirect:'/home',
      children: [
        {
          path: '/index',
@@ -60,6 +61,12 @@
          name: 'newWord',
          meta: { auth: true, name: '生词' },
          component: () => import('@/views/components/newWord.vue')
        },
        {
          path: '/wrongQuestion',
          name: 'wrongQuestion',
          meta: { auth: true, name: '错题' },
          component: () => import('@/views/components/wrongQuestion.vue')
        }
      ]
    },