From 860573389b1b4327e08b166f9639a33a09666abe Mon Sep 17 00:00:00 2001 From: hhl123456789 <3118891075@qq.com> Date: Sat, 7 Oct 2023 14:22:38 +0800 Subject: [PATCH] =?UTF-8?q?'=E8=A3=81=E5=86=B3=E4=B9=A6=E9=80=81=E8=BE=BE?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E6=95=B0=E6=8D=AE=E5=9B=9E=E6=98=BE=E6=B8=85?= =?UTF-8?q?=E9=99=A4'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../awardManagement/components/MailawardDialog.vue | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/views/awardManagement/components/MailawardDialog.vue b/src/views/awardManagement/components/MailawardDialog.vue index b575c2f..55c4cda 100644 --- a/src/views/awardManagement/components/MailawardDialog.vue +++ b/src/views/awardManagement/components/MailawardDialog.vue @@ -111,8 +111,14 @@ export default { formData: {}, }; }, - mounted () { - this.formData = {}; + watch: { + openMailawardDialog: { + handler(val) { + if (val) { + this.formData = {}; + } + }, + }, }, methods: { submitForm() { -- 2.54.0