聊天记录
This commit is contained in:
@@ -492,7 +492,7 @@ export default {
|
||||
if (same) {
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
//离线消息体
|
||||
var msgOffline = {
|
||||
userId: userId,
|
||||
@@ -540,15 +540,21 @@ export default {
|
||||
}
|
||||
}
|
||||
//TODO 需要请求接口获取真实的消息时间
|
||||
/*
|
||||
chatWindowData.push(msgOffline)
|
||||
store.dispatch('updateChatById', {
|
||||
userId: userId,
|
||||
data: chatWindowData
|
||||
store.dispatch('updateChatById', {
|
||||
userId: userId,
|
||||
data: chatWindowData
|
||||
})
|
||||
store.dispatch('updateChatListInfoById', {
|
||||
userId: userId,
|
||||
data: msgList
|
||||
})
|
||||
})
|
||||
*/
|
||||
|
||||
|
||||
|
||||
|
||||
store.dispatch('tabBarpull')
|
||||
store.dispatch('updateChatDataState', userId);
|
||||
});
|
||||
@@ -1024,9 +1030,9 @@ export default {
|
||||
|
||||
|
||||
const _data = JSON.parse(msg.messageBody)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// try{
|
||||
// console.log("=======================formatMessage")
|
||||
// console.log(_data)
|
||||
|
||||
Reference in New Issue
Block a user