Merge branch 'test' of https://git.code.tencent.com/lian-cbtc/jl-client into test
This commit is contained in:
commit
f1f4c85405
@ -612,8 +612,13 @@ export default {
|
|||||||
},
|
},
|
||||||
changeMessageList(data) {
|
changeMessageList(data) {
|
||||||
this.commonMessageList.push(data.message);
|
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]) {
|
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) {
|
if (this.commonConversation) {
|
||||||
this.messageList.push(data.message);
|
this.messageList.push(data.message);
|
||||||
|
@ -164,7 +164,7 @@ export default {
|
|||||||
display: inline-block;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
.userHeader{margin-bottom: 2px;}
|
.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;}
|
.userChatTime{font-size: 12px;display:inline-block;}
|
||||||
.userBubble{
|
.userBubble{
|
||||||
max-width: 200px;
|
max-width: 200px;
|
||||||
|
Loading…
Reference in New Issue
Block a user