diff --git a/im-uniapp/common/publicFc.js b/im-uniapp/common/publicFc.js index 8a6fe13..ea67fac 100644 --- a/im-uniapp/common/publicFc.js +++ b/im-uniapp/common/publicFc.js @@ -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'); diff --git a/im-uniapp/common/socketTask.js b/im-uniapp/common/socketTask.js index 414099d..8ba073f 100644 --- a/im-uniapp/common/socketTask.js +++ b/im-uniapp/common/socketTask.js @@ -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) }, diff --git a/im-uniapp/store/index.js b/im-uniapp/store/index.js index 78257fa..90b6808 100644 --- a/im-uniapp/store/index.js +++ b/im-uniapp/store/index.js @@ -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]){