Browse Source

Merge branch 'V4.3.3_XiaoWang' into dev

feature
mk 1 year ago
parent
commit
3436f16578
  1. 7
      src/views/modules/communityParty/activity/initiateActivity.vue

7
src/views/modules/communityParty/activity/initiateActivity.vue

@ -43,7 +43,7 @@
<el-form-item label="活动封面图" label-width="140px" prop="coverPic"> <el-form-item label="活动封面图" label-width="140px" prop="coverPic">
<template> <template>
<upload-image :defaultFileList="fileList" :limit="1" <upload-image :defaultFileList="fileList" :limit="1"
@change="onChangeFileList"></upload-image> @change="onChangeFileList" @file-removed="removedImg"></upload-image>
</template> </template>
</el-form-item> </el-form-item>
@ -353,8 +353,11 @@ export default {
// this.formData.coverPic = ob.fileUrl; // this.formData.coverPic = ob.fileUrl;
// } // }
// }, // },
removedImg(){
this.formData.coverPic = ''
},
onChangeFileList(e) { onChangeFileList(e) {
console.log(e,'sssssb');
this.fileList = e.length > 0 ? e.map(item => ({ this.fileList = e.length > 0 ? e.map(item => ({
fileType: '0', fileType: '0',
fileUrl: item.response.data.url fileUrl: item.response.data.url

Loading…
Cancel
Save