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 @@