Explorar el Código

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

Michael Wang hace 6 años
padre
commit
e6e9913f3b
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  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;
       }