mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-10 03:26:45 +08:00
本地环境 xml 转图片显示,测试环境不行
This commit is contained in:
@@ -102,6 +102,7 @@ export default {
|
||||
}
|
||||
})
|
||||
that.list = res.content.list
|
||||
console.log(that.list)
|
||||
that.scrollToBottom() //滚动条定位底部
|
||||
} else {
|
||||
this.send('你好')
|
||||
@@ -127,9 +128,12 @@ export default {
|
||||
//纯图片需要xml字符串转换json数据,数据解析
|
||||
if (res.singleNode.isRichText == 2) {
|
||||
res.singleNode.PicUrl = xmlLoad.xmlStr2json(res.singleNode.answerMsg).root.PicUrl
|
||||
console.log(xmlLoad.xmlStr2json(itm.singleNode.answerMsg).root.PicUrl)
|
||||
console.log(itm.singleNode.PicUrl)
|
||||
}
|
||||
that.list.push(res)
|
||||
that.sendtext = ''
|
||||
console.log(that.list)
|
||||
that.scrollToBottom() //滚动条定位底部
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user