yangjie #47

Merged
yangqiang merged 49 commits from yangjie into master 2025-01-24 13:43:09 +08:00
1 changed files with 9 additions and 7 deletions
Showing only changes of commit 54a5b442cd - Show all commits

View File

@ -68,13 +68,15 @@ const NoticeWindow: React.FC = () => {
</div>
</div>,
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',