Parcourir la source

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

hhl123456789 il y a 2 ans
Parent
révision
860573389b
1 fichiers modifiés avec 8 ajouts et 2 suppressions
  1. 8
    2
      src/views/awardManagement/components/MailawardDialog.vue

+ 8
- 2
src/views/awardManagement/components/MailawardDialog.vue Voir le fichier

111
       formData: {},
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
   methods: {
123
   methods: {
118
     submitForm() {
124
     submitForm() {