Authored by 陈轩

发送图片 移除http:

... ... @@ -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]);
... ...