diff --git a/src/page/Meeting/index.tsx b/src/page/Meeting/index.tsx index d6bc6cb..53277b1 100644 --- a/src/page/Meeting/index.tsx +++ b/src/page/Meeting/index.tsx @@ -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)