Explorar el Código

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

hhlxayunmei hace 2 años
padre
commit
755ebf9684
Se han modificado 1 ficheros con 8 adiciones y 2 borrados
  1. 8
    2
      src/views/awardManagement/components/MailawardDialog.vue

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

@@ -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() {