app消息接收发送
This commit is contained in:
@@ -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');
|
||||
|
||||
@@ -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)
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user