perf: macOS角标首次不显示的问题
This commit is contained in:
parent
482813ea88
commit
3bb7e958dc
@ -301,10 +301,6 @@ export default {
|
|||||||
//
|
//
|
||||||
document.addEventListener('keydown', this.shortcutEvent);
|
document.addEventListener('keydown', this.shortcutEvent);
|
||||||
window.addEventListener('resize', this.innerHeightListener);
|
window.addEventListener('resize', this.innerHeightListener);
|
||||||
//
|
|
||||||
if (this.$Electron) {
|
|
||||||
this.$Electron.ipcRenderer.send('setDockBadge', 0);
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
|
|
||||||
beforeDestroy() {
|
beforeDestroy() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user