diff --git a/src/views/modules/communityParty/comPromotion/add.vue b/src/views/modules/communityParty/comPromotion/add.vue
index 266fe891f..3e07aaeb1 100644
--- a/src/views/modules/communityParty/comPromotion/add.vue
+++ b/src/views/modules/communityParty/comPromotion/add.vue
@@ -37,7 +37,7 @@
-
+
@@ -92,7 +92,7 @@ export default {
adverTagList:[],
//////
top:false,
- fileList: {},//封面图片
+ fileList: [],//封面图片
activityImgs:[],//活动照片
formType: 'add', //表单操作类型 add新增,edit编辑,records记录
// records:false,
@@ -115,8 +115,8 @@ export default {
coverPic: "",//封面图
releaseTime: "",//发布时间
sendMsg: false,//是否推送
- top: 0,//是否置顶
- status: 1 //状态
+ top: 1,//是否置顶
+ status: 0 //状态
},
serviceList: [],
// gridList: [],
@@ -167,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