yangjie #47
|
|
@ -68,6 +68,7 @@ const NoticeWindow: React.FC = () => {
|
|||
</div>
|
||||
</div>,
|
||||
onClose: () => {
|
||||
setTimeout(() => {
|
||||
const dom = document.getElementsByClassName('ant-notification')
|
||||
if (dom.length === 0) {
|
||||
window.electron.setChildWindowShow({
|
||||
|
|
@ -75,6 +76,7 @@ const NoticeWindow: React.FC = () => {
|
|||
bool: false
|
||||
})
|
||||
}
|
||||
}, 0);
|
||||
},
|
||||
duration: 10,
|
||||
placement: 'bottomRight',
|
||||
|
|
|
|||
Loading…
Reference in New Issue