From ce78768aaf9fbef6f01514a79803dbc90cc5a797 Mon Sep 17 00:00:00 2001 From: A <1445840182@qq.com> Date: Thu, 14 Jul 2022 09:05:23 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E4=BA=86=E6=96=B0=E5=A2=9E?= =?UTF-8?q?=E5=85=AC=E5=91=8A=E7=9A=84=E4=B8=80=E7=82=B9=E5=B0=8F=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ProjectInfo.vue | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/src/views/ProjectInfo.vue b/src/views/ProjectInfo.vue index 1660623..245f44f 100644 --- a/src/views/ProjectInfo.vue +++ b/src/views/ProjectInfo.vue @@ -238,15 +238,15 @@ @edited="onEdited"/> - - + + + :rows="12"> @@ -564,6 +564,21 @@ export default { console.log(this.centerDialogVisible) }, + //dialog关闭重置表单 + resetForm() { + this.messageForm = { + addggbttxt:"", + addggtextarea:'', + } + //清空 + this.$refs.form.resetFields() + }, + //关闭新增dialog后 + closeadddialog() { + this.centerDialogVisible = false; + this.resetForm(); + }, + // 查询公告 getannouncementList() { const that = this;