From dde46442fe61f00309305187bbb7818022d9ad76 Mon Sep 17 00:00:00 2001 From: elliott <382696293@qq.com> Date: Thu, 25 Jan 2024 17:34:58 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=BC=B9=E7=AA=97=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- flossom-ui/src/views/system/siteCarouselInfo/index.vue | 6 +++++- flossom-ui/src/views/system/siteInfo/index.vue | 7 +++++-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/flossom-ui/src/views/system/siteCarouselInfo/index.vue b/flossom-ui/src/views/system/siteCarouselInfo/index.vue index b41c355..50a244d 100644 --- a/flossom-ui/src/views/system/siteCarouselInfo/index.vue +++ b/flossom-ui/src/views/system/siteCarouselInfo/index.vue @@ -581,7 +581,7 @@ @@ -779,6 +779,10 @@ export default { this.open = false this.reset() }, + clickReset(){ + this.$refs.upload.clearFiles(); + this.reset(); + }, // 表单重置 reset() { this.form = { diff --git a/flossom-ui/src/views/system/siteInfo/index.vue b/flossom-ui/src/views/system/siteInfo/index.vue index 76a26a4..073560b 100644 --- a/flossom-ui/src/views/system/siteInfo/index.vue +++ b/flossom-ui/src/views/system/siteInfo/index.vue @@ -573,7 +573,7 @@ @@ -770,6 +770,10 @@ export default { this.open = false this.reset() }, + clickReset(){ + this.$refs.upload.clearFiles(); + this.reset(); + }, // 表单重置 reset() { this.form = { @@ -814,7 +818,6 @@ export default { updateTime: null, } this.resetForm('form') - this.$refs.upload.clearFiles(); }, dateUtil(date) { // 获取年份、月份和日期