From beb353c7238d7eea256d0e64710ed4ffea9fd015 Mon Sep 17 00:00:00 2001 From: linzhijie <1003392067@qq.com> Date: 星期一, 22 五月 2023 11:41:37 +0800 Subject: [PATCH] H5适配 --- src/router.js | 54 ++++++++++++++++++++++++++++++++++++++++++------------ 1 files changed, 42 insertions(+), 12 deletions(-) diff --git a/src/router.js b/src/router.js index 7d65a90..e07934d 100644 --- a/src/router.js +++ b/src/router.js @@ -119,18 +119,48 @@ } ] }, - { - path: '/exam', - component: Layout, - children: [ - { - path: 'values', - component: () => import('@/views/exam/paper/values'), - name: 'ExamPaperValues', - meta: { title: 'values' } - } - ] - } + { + path: '/exam', + component: Layout, + children: [ + { + path: 'values', + component: () => import('@/views/exam/paper/values'), + name: 'ExamPaperValues', + meta: { title: 'values' } + } + ] + }, + { + path: '/exam', + component: Layout, + children: [ + { + path: 'career_interests', + component: () => import('@/views/exam/paper/career_interests'), + name: 'ExamPaperCareerInterests', + meta: { title: 'career_interests' } + } + ] + }, + { + path: '/report', + component: Layout, + children: [ + { + path: 'view', + component: () => import('@/views/report/reportView'), + name: 'reportView', + meta: { title: 'PDF鎶ュ憡' } + } + ] + }, + { + path: '/report/h5', + component: () => import('@/views/report/reportH5'), + name: 'reportH5', + meta: { title: '涓汉鍙嶉鎶ュ憡' } + } ] }) -- Gitblit v1.9.1