Explorar el Código

Exam.vue 名字修改为 ExamCard.vue

reghao hace 1 año
padre
commit
bd3ccf0dc3
Se han modificado 2 ficheros con 4 adiciones y 4 borrados
  1. 3 3
      src/router/admin.js
  2. 1 1
      src/views/exam/ExamCard.vue

+ 3 - 3
src/router/admin.js

@@ -10,7 +10,7 @@ const Admin = () => import('views/admin/Admin')
 
 const ExamDashboard = () => import('views/exam/ExamDashboard')
 const ExamIndex = () => import('views/exam/ExamIndex')
-const Exam = () => import('views/exam/Exam')
+const ExamCard = () => import('views/exam/ExamCard')
 const ExamResult = () => import('views/exam/ExamResult')
 const ExamSubject = () => import('views/exam/ExamSubject')
 const ExamQuestion = () => import('views/exam/ExamQuestion')
@@ -32,8 +32,8 @@ export default {
     },
     {
       path: '/exam/paper/:examId',
-      name: 'Exam',
-      component: Exam,
+      name: 'ExamCard',
+      component: ExamCard,
       meta: { needAuth: true }
     },
     {

+ 1 - 1
src/views/exam/Exam.vue → src/views/exam/ExamCard.vue

@@ -221,7 +221,7 @@
 import { submitExamPaper, getExamInfoById, getQuestionByIds } from '@/api/exam'
 
 export default {
-  name: 'ExamPage',
+  name: 'ExamCard',
   filters: {
     ellipsis(value) {
       if (!value) return ''