yangc 7 years ago
parent
commit
a87c5828bb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      components/mobile/base/BaseFilter.vue

+ 1 - 1
components/mobile/base/BaseFilter.vue

@@ -132,7 +132,7 @@
 //            }
 //          }
           // 23:59:59
-          if (type === 'toDate') {
+          if (this.dateObj.toDate && type === 'toDate') {
             this.dateObj.toDate += (23 * 60 * 60 * 1000 + 59 * 60 * 1000 + 59 * 1000)
           }
         } else {