Browse Source

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

Michael Wang 6 năm trước cách đây
mục cha
commit
e6e9913f3b
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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;
       }