修复托盘创建显示隐藏Bug

This commit is contained in:
lyswhut
2020-04-03 20:42:02 +08:00
parent 426c88c4ed
commit 76b3b3b23d
5 changed files with 15 additions and 17 deletions
+1 -1
View File
@@ -628,7 +628,7 @@ export default {
},
handleToTrayChange(isToTray) {
this.current_setting.tray.isShow = isToTray
rendererSend('changeTray', { action: isToTray ? 'create' : 'destroy' })
rendererSend('changeTray', this.current_setting.tray)
},
},
}