聊天记录
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -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)
|
||||
|
||||
@@ -139,9 +139,7 @@ export default {
|
||||
// console.warn(res)
|
||||
// })
|
||||
|
||||
sdk.getUserConversationList(0).then(res => {
|
||||
console.warn(res)
|
||||
})
|
||||
store.dispatch('queryConversationList')
|
||||
|
||||
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user