浏览代码

修复音频作答bug

lideyin 6 年之前
父节点
当前提交
2440860367
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/modules/oe/views/examPaperDetail.vue

+ 1 - 1
src/modules/oe/views/examPaperDetail.vue

@@ -59,7 +59,7 @@
                 <span v-html="questionUnit.correctAnswer"></span>
                 <span v-html="questionUnit.correctAnswer"></span>
               </div>
               </div>
               <div
               <div
-                v-if="questionUnit.answerType!=='SINGLE_AUDIO'"
+                v-if="questionUnit.answerType!=='SINGLE_AUDIO' || (questionUnit.answerType==='SINGLE_AUDIO' && (questionUnit.studentAnswer==null || questionUnit.studentAnswer==''))"
                 style="color: blue;font-weight: bold;"
                 style="color: blue;font-weight: bold;"
               >
               >
                 学生答案:
                 学生答案: