Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuywap-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
毕凯
2016-12-23 15:44:06 +0800
Commit
8c723b4648d82420b7749f4717d364c10e6d9e92
2 parents
e79ed6db
2834ca05
Merge branch 'hotfix/wap-im' into 'master'
发送图片 移除http: See merge request
!72
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
public/js/service/chat/index.js
public/js/service/chat/index.js
View file @
8c723b4
...
...
@@ -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
]);
...
...
Please
register
or
login
to post a comment