mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-08 09:26:44 +08:00
GFRS-2561【前端】智能客服新增图片预览功能(删除无用的代码)--提交人:张齐
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user