gjy пре 2 година
родитељ
комит
2da3fcd18b
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/views/houseSelfCollect/weightCheckRecord.vue

+ 1 - 1
src/views/houseSelfCollect/weightCheckRecord.vue

@@ -646,7 +646,7 @@
         return fmt
       },
       lookup() {
-        if (this.value2) {
+        if (this.value2&&this.value2.length>0) {
           this.startDate = this.dateFormat('YYYY-mm-dd', this.value2[0])
           this.endDate = this.dateFormat('YYYY-mm-dd', this.value2[1])
         } else {