Browse Source

清空时间选择

duy 2 years ago
parent
commit
f73943d6b5
1 changed files with 3 additions and 0 deletions
  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) {
     if (arr.length > 0) {
         searchForm.value.startTime = arr[0]
         searchForm.value.startTime = arr[0]
         searchForm.value.endTime = arr[1]
         searchForm.value.endTime = arr[1]
+    }else{
+         searchForm.value.startTime = ''
+        searchForm.value.endTime = ''
     }
     }
 }
 }