yangjie #22

Merged
yangqiang merged 99 commits from yangjie into master 2024-10-22 16:11:46 +08:00
2 changed files with 17 additions and 1 deletions
Showing only changes of commit 6b653becd9 - Show all commits

View File

@ -45,6 +45,12 @@ const ChatBigWindow: React.FC = () => {
break;
}
}
channel.postMessage({
type: 'chatBigWindowSendChannelMsg',
chatBigWindowSendChannelMsg: {
msg: '',
}
});
}, []);
return (

View File

@ -327,7 +327,17 @@ const Meeting: React.FC = () => {
GetRoomKickout(state.channelId, chatBigWindowGetRoomKickout.uid)
break;
case 'chatBigWindowSendChannelMsg':
if (chatBigWindowSendChannelMsg.msg) {
sendMsg(chatBigWindowSendChannelMsg.msg)
} else[
setChatList((res: any) => {
channel.postMessage({
type: 'chatList',
chatList: res,
})
return res
})
]
break;
case 'noticeWindowPostRoomManager':
postRoomManager({