소스 검색

错题复盘清空日期更新

dengshaobo 1 개월 전
부모
커밋
ece3495154
1개의 변경된 파일과 16개의 추가작업 그리고 2개의 파일을 삭제
  1. 16 2
      src/views/targetImprove/consolidate/index.vue

+ 16 - 2
src/views/targetImprove/consolidate/index.vue

@@ -171,8 +171,17 @@ export default {
     ChangeDate()
     {
       console.log("筛选数据改变了",this.dataValue);
-      this.startTime=this.dataValue[0];
-      this.endTime=this.dataValue[1];
+      console.log("筛选数据改变了",this.dataValue);
+      if(this.dataValue)
+      {
+         this.startTime=this.dataValue[0];
+        this.endTime=this.dataValue[1];
+      }
+      else
+      {
+        this.startTime="";
+        this.endTime="";
+      }
       this.GetKnowledgeTreeData();//获取知识点树
     },
 
@@ -271,6 +280,11 @@ export default {
           {
             this.questionList=[];
           }
+          else
+          {
+            
+            this.GetQuestionList();//获取错题列表
+          }
         
         }
         else