...
|
...
|
@@ -391,8 +391,9 @@ var chat = { |
|
|
var viewData = {};
|
|
|
var chatMessage = cm.chatMessage;
|
|
|
var allTypes = socketConf.recType;
|
|
|
//无用户头像,设置默认头像
|
|
|
cm.userHead = cm.userHead ? cm.userHead : userAvatar;
|
|
|
|
|
|
//设置默认用户头像
|
|
|
cm.userHead = userAvatar;
|
|
|
|
|
|
switch (cm.type) {
|
|
|
case allTypes.CU_SEND:
|
...
|
...
|
|