优化发言人申请弹窗

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