恢复 im 注释

This commit is contained in:
zdg 2024-09-03 18:03:25 +08:00
parent 7894214859
commit 2aaa15230a
1 changed files with 2 additions and 5 deletions

View File

@ -83,9 +83,6 @@ const btnList = [ // 工具栏按钮列表
// === ===
onMounted(async() => {
if (!electron) return //
// console.log(sessionStore)
// window.test = sessionStore
// window.test1 = toolStore
getClassInfo() // ex3
resetStatus() // -
})
@ -98,8 +95,8 @@ const getClassInfo = async () => {
// id
let timGroupId = data?.ex3 || '@TGS#36AICW6O6'
console.log('获取群ID:', timGroupId)
// const chat = await imChatRef.value?.initImChat(timGroupId) // im-chat
// if (!timGroupId) timGroupId = chat?.timGroupId
const chat = await imChatRef.value?.initImChat(timGroupId) // im-chat
if (!timGroupId) timGroupId = chat?.timGroupId
if (!timGroupId) return ElMessage.error('房间创建-失败')
classManageApi.startClass(classObj.id, timGroupId) //
}