소스 검색

小题题型

y595705120 2 년 전
부모
커밋
ae24dfc381
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      src/containers/center/exam/indexTest.vue
  2. 1 1
      src/containers/center/play/components/iCourseInfoTest.vue

+ 1 - 1
src/containers/center/exam/indexTest.vue

@@ -47,7 +47,7 @@
                   <!-- 案例题 -->
                   <div class="answer" v-if="currentQuestion.type==4">
                     <div v-for="(child,cidx) in currentQuestion.child" :key="child.id">
-                      {{cidx+1}}小题: <span v-html="child.title"></span>
+                      {{cidx+1}}[{{child.type|getType}}]: <span v-html="child.title"></span>
 
                       <div class="answer" v-if="child.type==3">
                         <el-checkbox-group v-model="answers['answer'+cidx]"  @change="(e)=>{selectCheckBox(e,cidx)}">

+ 1 - 1
src/containers/center/play/components/iCourseInfoTest.vue

@@ -135,7 +135,7 @@
         }
       },
       startExam(index) {
-        if( this.end.v <=0 ) {
+        if( this.end.v <=0 && this.info.examTime>0 ) {
           this.$message.errorMsg("开考超过三天,不能继续考试")
           return;
         }