Просмотр исходного кода

不区分单选题和多选题,教师端/学生端的题型显示统一为“选择题”

SanHQin 7 месяцев назад
Родитель
Сommit
9332181279
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      src/components/pages/workPage/components/choiceQuestion.vue

+ 2 - 1
src/components/pages/workPage/components/choiceQuestion.vue

@@ -13,7 +13,8 @@
     <img class="cq_image" v-if="work.testJson[showIndex] && work.testJson[showIndex].timuList && work.testJson[showIndex].timuList.length>0" :src="work.testJson[showIndex].timuList[0].src" @click="$hevueImgPreview(work.testJson[showIndex].timuList[0].src)">
 
     <div class="cq_type" v-if="work.testJson[showIndex]">
-      {{ work.testJson[showIndex].type == '1' ? lang.SingleChoice : lang.MultipleChoice }}
+      {{lang.ssChoice}}
+      <!-- {{ work.testJson[showIndex].type == '1' ? lang.SingleChoice : lang.MultipleChoice }} -->
       <!-- <span v-if="work.testJson.length>1">({{showIndex+1}}/{{work.testJson.length}})</span> -->
 
     </div>