Browse Source

清空时间选择

duy 2 năm trước cách đây
mục cha
commit
f73943d6b5
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  1. 3 0
      src/views/tentative/device/overhaul.vue

+ 3 - 0
src/views/tentative/device/overhaul.vue

@@ -204,6 +204,9 @@ const betweenTimeUpdate = ({arr}) => {
     if (arr.length > 0) {
         searchForm.value.startTime = arr[0]
         searchForm.value.endTime = arr[1]
+    }else{
+         searchForm.value.startTime = ''
+        searchForm.value.endTime = ''
     }
 }