소스 검색

refactor: 移除不必要的考试相关路由

xieyong 1 개월 전
부모
커밋
2716a4477d
1개의 변경된 파일과 0개의 추가작업 그리고 28개의 파일을 삭제
  1. 0 28
      src/router/routes.js

+ 0 - 28
src/router/routes.js

@@ -42,34 +42,6 @@ export function getMenuRoutes(menus, homePath) {
       path: REDIRECT_PATH + '/:path(.*)',
       component: RedirectLayout,
       meta: { hideFooter: true }
-    },
-    // 题库试题分页查询(在现有系统中以 tab 形式打开)
-    {
-      path: 'safetyExam/questionBank/questionList',
-      component: () =>
-        import('@/views/safetyExam/questionBank/questionList.vue'),
-      meta: {
-        title: '题库试题',
-        hide: true
-      }
-    },
-    // 我的考试-参加考试 / 补考 答题页(独立路由)
-    {
-      path: 'safetyExam/myExam/taking',
-      component: () => import('@/views/safetyExam/myExam/taking.vue'),
-      meta: {
-        title: '考试答题',
-        hide: true
-      }
-    },
-    // 我的考试-查看错题(独立路由)
-    {
-      path: 'safetyExam/myExam/wrongQuestions',
-      component: () => import('@/views/safetyExam/myExam/wrongQuestions.vue'),
-      meta: {
-        title: '查看错题',
-        hide: true
-      }
     }
   ];
   // 路由铺平处理