chenrui  2 жил өмнө
parent
commit
79937e7c50

+ 10 - 4
src/views/securityCheck/components/securityCheckHeader.vue

@@ -269,13 +269,19 @@ export default {
       },
     },
     "formData.beginDate": {
-      handler(val) {
-        this.search();
+      handler(val, oldVal) {
+        console.log(val);
+        if (oldVal) {
+          this.search();
+        }
       },
     },
     "formData.endDate": {
-      handler(val) {
-        this.search();
+      handler(val, oldVal) {
+        console.log(val);
+        if (oldVal) {
+          this.search();
+        }
       },
     },
     selectOptions: {