From 8f685b98d924cabe0026163398e1867b54b3a988 Mon Sep 17 00:00:00 2001 From: 阳洁 <2077506045@qq.com> Date: 星期五, 23 二月 2024 14:07:15 +0800 Subject: [PATCH] API-Fan产品增加练习页面 --- src/router.js | 26 ++++++++++++++++---------- 1 files changed, 16 insertions(+), 10 deletions(-) diff --git a/src/router.js b/src/router.js index 768820f..5bbd595 100644 --- a/src/router.js +++ b/src/router.js @@ -144,6 +144,18 @@ ] }, { + path: '/exam', + component: Layout, + children: [ + { + path: 'exercise', + component: () => import('@/views/exam/paper/exercise'), + name: 'ExamPaperExercise', + meta: { title: 'exercise' } + } + ] + }, + { path: '/report', component: Layout, children: [ @@ -156,16 +168,10 @@ ] }, { - path: '/report', - component: Layout, - children: [ - { - path: 'h5', - component: () => import('@/views/report/reportH5'), - name: 'reportH5', - meta: { title: 'H5鎶ュ憡' } - } - ] + path: '/report/h5', + component: () => import('@/views/report/reportH5'), + name: 'reportH5', + meta: { title: '涓汉鍙嶉鎶ュ憡' } } ] }) -- Gitblit v1.9.1