聊天会话记录
This commit is contained in:
@@ -66,7 +66,6 @@ import { createStore } from 'vuex'
|
||||
console.log("========================")
|
||||
console.log("========================")
|
||||
console.error(data)
|
||||
debugger
|
||||
_im.sendP2PMessage(_im.createP2PTextMessage(data.userId,data.data.content))
|
||||
},
|
||||
updateChatDataState(context,data){
|
||||
@@ -147,6 +146,7 @@ import { createStore } from 'vuex'
|
||||
console.log("data.userId:",data.userId)
|
||||
var userId=data.userId
|
||||
var windowType=data.windowType
|
||||
|
||||
//初始化聊天记录
|
||||
var data2=publicFc.getKeyObjectStorage(context.state.userInfo.userId+'_'+'chatlistData')
|
||||
if(!data2[userId]){
|
||||
@@ -166,6 +166,10 @@ import { createStore } from 'vuex'
|
||||
// })
|
||||
|
||||
_im.getSingleUserInfo(userId).then((res)=>{
|
||||
console.log(res.data)
|
||||
console.log(res.data)
|
||||
console.log(res.data)
|
||||
console.log(res.data)
|
||||
if (res.code == 200) {
|
||||
var detail=res.data
|
||||
data1[userId]={
|
||||
|
||||
Reference in New Issue
Block a user