app消息接收发送

This commit is contained in:
2023-09-27 20:58:27 +08:00
parent 1339916988
commit 72dc5e7cb3
3 changed files with 0 additions and 5 deletions

View File

@@ -343,7 +343,6 @@ export default {
*/
const _userId = uni.getStorageSync("userId")
debugger
this.pushInMsg({
type: resbody.msgContent.msgType == 'ALERT' ? 3 : 1, //显示类型 1左侧 2右侧 3中间
@@ -456,12 +455,10 @@ export default {
msgTypeLabel = '[视频通话]'
}
console.log(userId)
debugger
store.dispatch('createChatObj', {
userId: userId,
windowType: windowType,
}).then(res => {
debugger
var localData = res.data
store.dispatch('getchatDatalist');
store.dispatch('getChatList');

View File

@@ -52,7 +52,6 @@ export default {
e.data.groupInfo={};
e.data.msgId=e.data.messageId;
debugger
uni.$emit('onP2PMessage', e.data);
store.dispatch('onP2PMessage',e.data)
},

View File

@@ -146,7 +146,6 @@ import { createStore } from 'vuex'
console.log("data.userId:",data.userId)
var userId=data.userId
var windowType=data.windowType
debugger
//初始化聊天记录
var data2=publicFc.getKeyObjectStorage(context.state.userInfo.userId+'_'+'chatlistData')
if(!data2[userId]){