fix: 全局快捷键相关bug

This commit is contained in:
qier222 2021-09-25 19:10:37 +08:00
parent bb87b7f20d
commit 14f47f8cfc
No known key found for this signature in database
GPG key ID: 9C85007ED905F14D
4 changed files with 5 additions and 2 deletions

View file

@ -978,6 +978,7 @@ export default {
this.recordedShortcut = [];
},
exitRecordShortcut() {
if (this.shortcutInput.recording === false) return;
this.shortcutInput = { id: '', type: '', recording: false };
this.recordedShortcut = [];
ipcRenderer.send('switchGlobalShortcutStatusTemporary', 'enable');