zdg #332

Merged
zhengdegang merged 6 commits from zdg into main 2024-10-18 17:08:47 +08:00
3 changed files with 3 additions and 3 deletions
Showing only changes of commit 548442f278 - Show all commits

View File

@ -128,7 +128,7 @@ const closeHomework = async() => {
const successHomework = (data)=>{
// console.log('', data)
// im-(app|)
ipcMsgInvoke('im-chat:msg', data, MsgEnum.HEADS.MSG_0016)
// ipcMsgInvoke('im-chat:msg', data, MsgEnum.HEADS.MSG_0016)
}
// change
const changeChapter = async (data)=>{

View File

@ -12,7 +12,7 @@ const props = defineProps({
})
const imChatObj = reactive({imChat:null})
onMounted(() => {
ipcMainHandle() // -ipcMain im
// ipcMainHandle() // -ipcMain im
})
// im-chat
const initImChat = async (timGroupId) => {

View File

@ -105,7 +105,7 @@ const getClassInfo = async () => {
const chat = await imChatRef.value?.initImChat(timGroupId) // im-chat
if (!timGroupId) timGroupId = chat?.timGroupId
if (!timGroupId) return ElMessage.error('房间创建-失败')
classManageApi.startClass(classObj.id, timGroupId) //
if (data.status != '上课中') classManageApi.startClass(classObj.id, timGroupId) //
}
// tab-change
const tabChange = (val) => {