소스 검색

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"
       >