zdg #171

Merged
zhengdegang merged 4 commits from zdg into main 2024-09-03 18:11:48 +08:00
1 changed files with 2 additions and 5 deletions
Showing only changes of commit 2aaa15230a - Show all commits

View File

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