yangjie #22
|
|
@ -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) {
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue