浏览代码

fix undefined

Michael Wang 5 年之前
父节点
当前提交
b805560ed8
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/features/OnlineExam/Examing/ExamingEnd.vue

+ 1 - 1
src/features/OnlineExam/Examing/ExamingEnd.vue

@@ -28,7 +28,7 @@
           exam &&
             exam.examType !== 'ONLINE' &&
             showObjectScore &&
-            !examResult.isWarn
+            (examResult && !examResult.isWarn)
         "
         class="qm-big-text score-text"
       >