Explorar o código

清空时间选择

duy %!s(int64=2) %!d(string=hai) anos
pai
achega
f73943d6b5
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  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 = ''
     }
 }