From 7edbe9d7e6cbeb116d3d6d9b00da09dc5047aa99 Mon Sep 17 00:00:00 2001 From: ZhangXianQiang <1135831638@qq.com> Date: 星期三, 05 六月 2024 10:56:38 +0800 Subject: [PATCH] fix:修改菜单适配问题 --- src/router/index.js | 13 ++++++++++++- 1 files changed, 12 insertions(+), 1 deletions(-) diff --git a/src/router/index.js b/src/router/index.js index 725e29e..e2efcca 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -7,6 +7,7 @@ path: '/', redirect: '/index' }, + { 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({ -- Gitblit v1.8.0