Parcourir la source

Merge branch 'hhl' of SH-Arbitrate/Arbitrate-Frontend into dev

hhlxayunmei il y a 2 ans
Parent
révision
755ebf9684
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,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() {