保存-群id
This commit is contained in:
parent
69f54a217b
commit
bb1d5da104
|
@ -102,8 +102,10 @@ const mouseChange = (bool) => {
|
||||||
setIgnore(resBool)
|
setIgnore(resBool)
|
||||||
}
|
}
|
||||||
// im-chat: 聊天事件
|
// im-chat: 聊天事件
|
||||||
const chatChange = data => {
|
const chatChange = ({type, data}) => {
|
||||||
console.log(data)
|
if (type == 'createGroup') { // 创建群
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// 忽略鼠标穿透
|
// 忽略鼠标穿透
|
||||||
|
@ -138,7 +140,6 @@ const sideChange = async o => {
|
||||||
case 'over': // 下课
|
case 'over': // 下课
|
||||||
toolStore.isToolWin = false
|
toolStore.isToolWin = false
|
||||||
endClass(route.query.reservId)
|
endClass(route.query.reservId)
|
||||||
console.log(imChatRef.value)
|
|
||||||
await imChatRef.value?.deleteGroup() // 解散群
|
await imChatRef.value?.deleteGroup() // 解散群
|
||||||
await imChatRef.value?.logout() // 退出im
|
await imChatRef.value?.logout() // 退出im
|
||||||
ipcMsgSend('tool-sphere:close') // 关闭窗口
|
ipcMsgSend('tool-sphere:close') // 关闭窗口
|
||||||
|
|
Loading…
Reference in New Issue