소스 검색

知识点作答提交答案无数据清空

liurongli 1 개월 전
부모
커밋
e8663e45ad
1개의 변경된 파일과 4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      src/views/targetImprove/practice/practiceAnswer.vue

+ 4 - 0
src/views/targetImprove/practice/practiceAnswer.vue

@@ -252,6 +252,10 @@ export default {
               this.exerciseId = this.waitList?.[0]?.exerciseId || "";
               this.knowledgeName = this.waitList?.[0]?.knowledgeName || "";
               this.GetStudentTargeExerciseQuestion();
+            }else{
+              this.exerciseId = "";
+              this.knowledgeName = "";
+              this.questionList = [];
             }
           }
         });