diff --git a/src/page/Meeting/NoticeWindow/index.tsx b/src/page/Meeting/NoticeWindow/index.tsx index d1be2a7..d330e3e 100644 --- a/src/page/Meeting/NoticeWindow/index.tsx +++ b/src/page/Meeting/NoticeWindow/index.tsx @@ -68,13 +68,15 @@ const NoticeWindow: React.FC = () => { , onClose: () => { - const dom = document.getElementsByClassName('ant-notification') - if (dom.length === 0) { - window.electron.setChildWindowShow({ - key: 'noticeWindow', - bool: false - }) - } + setTimeout(() => { + const dom = document.getElementsByClassName('ant-notification') + if (dom.length === 0) { + window.electron.setChildWindowShow({ + key: 'noticeWindow', + bool: false + }) + } + }, 0); }, duration: 10, placement: 'bottomRight',