闫增涛
2025-04-14 2cac4a0f4ea0b1cf7bff4759fae8136c72792563
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')
        }
      ]
    },