优化发言人申请弹窗

This commit is contained in:
yj 2024-10-18 15:43:20 +08:00
parent 004e566964
commit 634d02d28a
1 changed files with 8 additions and 6 deletions

View File

@ -657,10 +657,12 @@ const Meeting: React.FC = () => {
height: 150,
key: 'noticeWindow',
})
channel.postMessage({
type: 'noticeItem',
noticeItem: item
});
setTimeout(() => {
channel.postMessage({
type: 'noticeItem',
noticeItem: item
});
}, 1000)
} else {
api.open({
message: '',
@ -1537,8 +1539,8 @@ const Meeting: React.FC = () => {
})
window.electron.createChildWindow({
url: location.origin + `/#/noticeWindow`,
width: 1,
height: 1,
width: 388,
height: 150,
key: 'noticeWindow',
})
setKeyOpenChildWindow('shareScreenWindow', true)