Ver código fonte

'裁决书送达页面数据回显清除'

hhl123456789 2 anos atrás
pai
commit
860573389b

+ 8
- 2
src/views/awardManagement/components/MailawardDialog.vue Ver arquivo

@@ -111,8 +111,14 @@ export default {
111 111
       formData: {},
112 112
     };
113 113
   },
114
-  mounted () {
115
-    this.formData = {};
114
+  watch: {
115
+    openMailawardDialog: {
116
+      handler(val) {
117
+        if (val) {
118
+          this.formData = {};
119
+        }
120
+      },
121
+    },
116 122
   },
117 123
   methods: {
118 124
     submitForm() {