perf: macOS角标首次不显示的问题

This commit is contained in:
kuaifan 2022-01-26 11:46:11 +08:00
parent 482813ea88
commit 3bb7e958dc

View File

@ -301,10 +301,6 @@ export default {
//
document.addEventListener('keydown', this.shortcutEvent);
window.addEventListener('resize', this.innerHeightListener);
//
if (this.$Electron) {
this.$Electron.ipcRenderer.send('setDockBadge', 0);
}
},
beforeDestroy() {