Ver Fonte

小题题型

y595705120 há 2 anos atrás
pai
commit
ae24dfc381

+ 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;
         }