Authored by 毕凯

Merge branch 'hotfix/wap-im' into 'master'

发送图片 移除http:



See merge request !72
... ... @@ -699,9 +699,14 @@ var chat = {
_drawMSG: function(viewData, cusAction = null) {
let chatWin = this.$chatWin[0];
if (viewData.type === 'picture') {
viewData.data.content = viewData.data.content.replace(/^http:/, '');
}
// console.log(viewData);
let $html = $(this.messageT(viewData));
this.checkTime();
if (cusAction) {
cusAction.apply(this, [$html]);
... ...