This commit is contained in:
yj 2024-10-21 15:43:52 +08:00
parent e4a6cf69d8
commit e117c03e37
2 changed files with 10 additions and 0 deletions

View File

@ -10,6 +10,10 @@ const NoticeWindow: React.FC = () => {
}); });
const channel = new BroadcastChannel('meeting_channel'); const channel = new BroadcastChannel('meeting_channel');
useEffect(() => { useEffect(() => {
window.electron.setChildWindowShow({
key: 'noticeWindow',
bool: false
})
channel.onmessage = function (event) { channel.onmessage = function (event) {
const { type, noticeItem } = event.data; const { type, noticeItem } = event.data;
switch (type) { switch (type) {

View File

@ -1702,6 +1702,12 @@ const Meeting: React.FC = () => {
userId: userInfo.uid userId: userInfo.uid
}) })
} }
setIsScreenCapture(bool => {
if (bool) {
allUserLook(userItem.screenShareId, userItem.userName)
}
return bool
})
return res return res
}) })