diff --git a/src/views/ebiz/customerService/customerService.vue b/src/views/ebiz/customerService/customerService.vue index 7ff2d405b..49bc509a1 100644 --- a/src/views/ebiz/customerService/customerService.vue +++ b/src/views/ebiz/customerService/customerService.vue @@ -79,8 +79,7 @@ export default { MessageId: '', sendtext: '', //input发送信息 //聊天数据 isRichText 0标准回答 1图文 2单图片 3超链接 - list: [], - imgUrlArr: [] + list: [] }; }, created: function() { @@ -114,15 +113,6 @@ export default { if (itm.singleNode.isRichText == 2) { itm.singleNode.PicUrl = xmlLoad.xmlStr2json(itm.singleNode.answerMsg).root.PicUrl; } - if ('PicUrl' in itm.singleNode) { - that.imgUrlArr.push([{ - url: itm.singleNode.PicUrl - }]); - } else { - that.imgUrlArr.push([{ - url: '' - }]); - } }); that.list = res.content.list; //加延时器解决历史数据渲染执行顺序时,滚动条未达到底部 @@ -180,7 +170,6 @@ export default {