diff --git a/src/renderer/src/views/tool/sphere.vue b/src/renderer/src/views/tool/sphere.vue index e6bf859..8f21f9c 100644 --- a/src/renderer/src/views/tool/sphere.vue +++ b/src/renderer/src/views/tool/sphere.vue @@ -102,8 +102,10 @@ const mouseChange = (bool) => { setIgnore(resBool) } // im-chat: 聊天事件 -const chatChange = data => { - console.log(data) +const chatChange = ({type, data}) => { + if (type == 'createGroup') { // 创建群 + + } } // 忽略鼠标穿透 @@ -138,7 +140,6 @@ const sideChange = async o => { case 'over': // 下课 toolStore.isToolWin = false endClass(route.query.reservId) - console.log(imChatRef.value) await imChatRef.value?.deleteGroup() // 解散群 await imChatRef.value?.logout() // 退出im ipcMsgSend('tool-sphere:close') // 关闭窗口