ZhangXianQiang
2024-06-05 27f869c1e6c0c79f763a34bfffc09a55c1841cc1
src/router/index.js
@@ -5,8 +5,9 @@
const routes = [
  {
    path: '/',
    redirect: '/index'
    redirect: '/exam'
  },
  {
    path: '/',
    component: Layout,
@@ -23,7 +24,17 @@
      },
    ]
  },
  // 考试列表
  {
    path: '/exam-list',
    component: () => import('@/views/exam-list/index.vue'),
  },
  // 考试页面
  {
    path: '/exam',
    component: () => import('@/views/exam/index.vue'),
  },
];
const router = createRouter({