diff --git a/pages_tool/contact/contact.vue b/pages_tool/contact/contact.vue index 1caabc7..06e5518 100644 --- a/pages_tool/contact/contact.vue +++ b/pages_tool/contact/contact.vue @@ -253,7 +253,16 @@ export default { this.dataList = res.data; // 电子名片信息 this.fileList = res.file_list; // 企业文件 this.videoList = res.video_list; // 企业视频 - this.channelList = res.channel_list.map(item => this.$util.snakeToCamelForObj(item)); // 视频号 + this.channelList = res.channel_list.map(item => this.$util.snakeToCamelForObj(item)).map(item => { + if (item.coverImageType === 'upload') { + item.coverUrl = this.$util.img(item.coverUrl); + } + if (item.avatarImageType === 'upload') { + item.avatarUrl = this.$util.img(item.avatarUrl); + } + return item; + }); // 视频号 + this.shop = res.shop; this.personnel_bg = res.set.personnel_bg ? res.set.personnel_bg : 'public/static/img/diy_view/member_info_bg.png'; this.markers = [{