yangjie #22
|
|
@ -45,6 +45,12 @@ const ChatBigWindow: React.FC = () => {
|
|||
break;
|
||||
}
|
||||
}
|
||||
channel.postMessage({
|
||||
type: 'chatBigWindowSendChannelMsg',
|
||||
chatBigWindowSendChannelMsg: {
|
||||
msg: '',
|
||||
}
|
||||
});
|
||||
}, []);
|
||||
|
||||
return (
|
||||
|
|
|
|||
|
|
@ -327,7 +327,17 @@ const Meeting: React.FC = () => {
|
|||
GetRoomKickout(state.channelId, chatBigWindowGetRoomKickout.uid)
|
||||
break;
|
||||
case 'chatBigWindowSendChannelMsg':
|
||||
sendMsg(chatBigWindowSendChannelMsg.msg)
|
||||
if (chatBigWindowSendChannelMsg.msg) {
|
||||
sendMsg(chatBigWindowSendChannelMsg.msg)
|
||||
} else[
|
||||
setChatList((res: any) => {
|
||||
channel.postMessage({
|
||||
type: 'chatList',
|
||||
chatList: res,
|
||||
})
|
||||
return res
|
||||
})
|
||||
]
|
||||
break;
|
||||
case 'noticeWindowPostRoomManager':
|
||||
postRoomManager({
|
||||
|
|
|
|||
Loading…
Reference in New Issue