From 1243a4a82f050b4c58d6044a5983aefd034c849f Mon Sep 17 00:00:00 2001 From: LL Date: Mon, 2 Feb 2026 14:44:52 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=E4=B8=8A=E4=BC=A0bug=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../promotion/components/promotionDialog.vue | 7 +- .../modules/plugins/rent/upload-image.vue | 87 ++++++++++++------- 2 files changed, 58 insertions(+), 36 deletions(-) diff --git a/src/views/modules/communityParty/promotion/components/promotionDialog.vue b/src/views/modules/communityParty/promotion/components/promotionDialog.vue index 6345c1da6..8a3a47208 100644 --- a/src/views/modules/communityParty/promotion/components/promotionDialog.vue +++ b/src/views/modules/communityParty/promotion/components/promotionDialog.vue @@ -17,7 +17,7 @@
-
@@ -162,10 +162,7 @@ export default { }, onChangeFileList(fileList) { - this.fileList = fileList.length > 0 ? fileList.map(item => ({ - fileType: '0', - fileUrl: item.response.data.url - })) : []; // 当e为空时清空fileList + this.fileList = fileList.length > 0 ? fileList : []; if (fileList.length > 0) { this.formData.coverPic = fileList[0].response.data.url; } else { diff --git a/src/views/modules/plugins/rent/upload-image.vue b/src/views/modules/plugins/rent/upload-image.vue index 1acb760c1..57ae7a092 100644 --- a/src/views/modules/plugins/rent/upload-image.vue +++ b/src/views/modules/plugins/rent/upload-image.vue @@ -1,29 +1,34 @@