diff --git a/src/views/modules/communityParty/comPromotion/add.vue b/src/views/modules/communityParty/comPromotion/add.vue index 0025572fc..a60043b17 100644 --- a/src/views/modules/communityParty/comPromotion/add.vue +++ b/src/views/modules/communityParty/comPromotion/add.vue @@ -37,17 +37,12 @@ - + - - - - - @@ -95,12 +90,9 @@ export default { // } return { adverTagList:[], - - - ////// top:false, - fileList: {},//封面图片 + fileList: [],//封面图片 activityImgs:[],//活动照片 formType: 'add', //表单操作类型 add新增,edit编辑,records记录 // records:false, @@ -123,7 +115,7 @@ export default { coverPic: "",//封面图 releaseTime: "",//发布时间 sendMsg: false,//是否推送 - top: false,//是否置顶 + top: 1,//是否置顶 status: 0 //状态 }, serviceList: [], @@ -175,7 +167,8 @@ export default { this.startLoading(); if(row!=null){ this.formData = JSON.parse(JSON.stringify(row)); - console.log(this.formData.coverPic); + this.fileList.push({fileUrl:this.formData.coverPic}) + console.log(this.formData.coverPic,'see'); } this.formType=typeid