闫增涛
7 天以前 4746ad5110684d132f7b7f39511af4eae87a0b15
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')
        }
      ]
    },