From 3c9fa6cc3f863f5caf1c7ece82e24fd8bcf07acf Mon Sep 17 00:00:00 2001 From: YeMingfei666 <1619116647@qq.com> Date: Wed, 10 Jul 2024 16:18:21 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=96=B0=E5=A2=9E=E6=AD=8C?= =?UTF-8?q?=E6=9B=B2=E6=9C=AA=E9=87=8D=E7=BD=AE=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/application/componentsCompoents/add-song.vue | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/views/application/componentsCompoents/add-song.vue b/src/views/application/componentsCompoents/add-song.vue index e5338d2..5ad88e0 100644 --- a/src/views/application/componentsCompoents/add-song.vue +++ b/src/views/application/componentsCompoents/add-song.vue @@ -71,14 +71,16 @@ trigger: 'blur' }] }, - form:form + form:{...form} } }, mounted() { }, methods: { restForm(){ - this.form=form + console.log('restForm') + console.log(form) + this.form={...form} this.$refs.uploadImg.clearFiles() }, diaClose(){ @@ -114,8 +116,9 @@ type: 'success' }); } - this.$emit('success', res) this.close() + + this.$emit('success', res) } catch (error) { console.log(error) }