This commit is contained in:
yj 2024-10-18 17:57:57 +08:00
parent 30d739c894
commit 70469962be
1 changed files with 3 additions and 1 deletions

View File

@ -354,7 +354,9 @@ app.on('ready', () => {
if (config.bool) { if (config.bool) {
childWindow[config.key].show() childWindow[config.key].show()
} else { } else {
childWindow[config.key].hide() if (childWindow[config.key].isVisible()) {
childWindow[config.key].hide()
}
} }
}); });
// 隐藏主窗口 // 隐藏主窗口