Skip to content

Commit 0fb1355

Browse files
committed
优化:窗口状态刷新延迟优化
1 parent 261b076 commit 0fb1355

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/App.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ window.__page.onPluginDetached(() => {
8282
mainResult.value?.onPluginDetached()
8383
})
8484
window.__page.onDetachWindowClosed(async () => {
85-
if (await manager.isMainWindowShown() && !manager.activePlugin) {
85+
if (!manager.activePlugin) {
8686
await manager.detachWindowActionsRefresh()
8787
}
8888
})

0 commit comments

Comments
 (0)