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
Email Patches
Plain Diff
Browse Files
Authored by
郝肖肖
2016-12-20 16:27:50 +0800
Commit
5532292a2d721dfbdaec4b8be729f802d105a663
1 parent
36c4c893
获取历史记录,用户头像为空设置默认头像
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
public/js/service/chat/index.js
public/js/service/chat/index.js
View file @
5532292
...
...
@@ -391,6 +391,8 @@ var chat = {
var
viewData
=
{};
var
chatMessage
=
cm
.
chatMessage
;
var
allTypes
=
socketConf
.
recType
;
//无用户头像,设置默认头像
cm
.
userHead
=
cm
.
userHead
?
cm
.
userHead
:
userAvatar
;
switch
(
cm
.
type
)
{
case
allTypes
.
CU_SEND
:
...
...
Please
register
or
login
to post a comment