GFRS-2561【前端】智能客服新增图片预览功能(删除无用的代码)--提交人:张齐

This commit is contained in:
zhangqi1
2021-07-23 14:23:31 +08:00
committed by dwq
parent e67a29bdc5
commit aa07a1b35f

View File

@@ -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 {
</script>
<style lang='scss' scoped>
.v-super {
vertical-align: super;
}