Browse Source

修改日期

1
Xiao_Mo 4 years ago
parent
commit
f0d421aace
1 changed files with 5 additions and 2 deletions
  1. 5 2
      src/views/teamDetail/teamCourseList.vue

+ 5 - 2
src/views/teamDetail/teamCourseList.vue

@@ -706,18 +706,21 @@ export default {
       for(let item in this.searchForm){
         if(typeof this.searchForm[item] == 'object'){
           // 对象或者数组
-          if(this.searchForm[item]?.length <=0){
+          if(this.searchForm[item]?.length >0){
+            
             flag = true
           }
         }else{
-          if (!this.searchForm[item]){
+          if (this.searchForm[item]){
             flag = true
           }
         }
       }
+     
       if(flag)return
       this.searchForm.timer = [nowTime, nowTime]
     }
+
     if (query.organId) {
       this.searchForm.organIdList = Number(query.organId)
     }