保存-群id
This commit is contained in:
parent
69f54a217b
commit
bb1d5da104
|
@ -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') // 关闭窗口
|
||||
|
|
Loading…
Reference in New Issue