剧本编制代码调整

This commit is contained in:
joylink_cuiweidong 2020-09-11 16:36:13 +08:00
parent 06796c439b
commit e5a5c391f0
2 changed files with 7 additions and 2 deletions

View File

@ -612,8 +612,13 @@ export default {
},
changeMessageList(data) {
this.commonMessageList.push(data.message);
// if (this.conversitionStateMap[data.message.memberId]) {
// this.conversitionStateMap[data.message.memberId].privateMessageList.push(data.message);
// }
if (this.conversitionStateMap[data.message.memberId]) {
this.conversitionStateMap[data.message.memberId].privateMessageList.push(data.message);
(this.conversitionStateMap[data.message.memberId].privateMemberList || []).forEach(member => {
this.conversitionStateMap[member.memberId] && this.conversitionStateMap[member.memberId].privateMessageList.push(data.message);
});
}
if (this.commonConversation) {
this.messageList.push(data.message);

View File

@ -164,7 +164,7 @@ export default {
display: inline-block;
}
.userHeader{margin-bottom: 2px;}
.userName{font-size: 12px;display:inline-block;}
.userName{font-size: 12px;display:inline-block;margin-right:10px;}
.userChatTime{font-size: 12px;display:inline-block;}
.userBubble{
max-width: 200px;