소스 검색

试题内容获取不到就不显示试题

Michael Wang 6 년 전
부모
커밋
e6e9913f3b
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      src/features/OnlineExam/Examing/QuestionView.vue

+ 2 - 0
src/features/OnlineExam/Examing/QuestionView.vue

@@ -64,6 +64,8 @@ export default {
       );
 
       if (res.data === undefined) {
+        this.parentQuestionBody = null;
+        this.question = null;
         return;
       }