From 09f7989cab7848e93a1eb3b8ee998c8b59f843e8 Mon Sep 17 00:00:00 2001 From: lyswhut Date: Fri, 1 May 2020 21:03:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=97=A0=E6=B3=95=E5=85=A8?= =?UTF-8?q?=E9=80=89=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/renderer/views/Download.vue | 8 ++++---- src/renderer/views/List.vue | 8 ++++---- src/renderer/views/Search.vue | 8 ++++---- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/renderer/views/Download.vue b/src/renderer/views/Download.vue index 8cd6fcf7..09a02be8 100644 --- a/src/renderer/views/Download.vue +++ b/src/renderer/views/Download.vue @@ -134,16 +134,16 @@ export default { window.eventHub.$on('key_shift_up', this.handle_key_shift_up) window.eventHub.$on('key_mod_down', this.handle_key_mod_down) window.eventHub.$on('key_mod_up', this.handle_key_mod_up) - window.eventHub.$on('key_mod+a_down', this.handle_mod_a_down) - window.eventHub.$on('key_mod+a_up', this.handle_mod_a_up) + window.eventHub.$on('key_mod+a_down', this.handle_key_mod_a_down) + window.eventHub.$on('key_mod+a_up', this.handle_key_mod_a_up) }, unlistenEvent() { window.eventHub.$off('key_shift_down', this.handle_key_shift_down) window.eventHub.$off('key_shift_up', this.handle_key_shift_up) window.eventHub.$off('key_mod_down', this.handle_key_mod_down) window.eventHub.$off('key_mod_up', this.handle_key_mod_up) - window.eventHub.$off('key_mod+a_down', this.handle_mod_a_down) - window.eventHub.$off('key_mod+a_up', this.handle_mod_a_up) + window.eventHub.$off('key_mod+a_down', this.handle_key_mod_a_down) + window.eventHub.$off('key_mod+a_up', this.handle_key_mod_a_up) }, handle_key_shift_down() { if (!this.keyEvent.isShiftDown) this.keyEvent.isShiftDown = true diff --git a/src/renderer/views/List.vue b/src/renderer/views/List.vue index a55ab001..13c91722 100644 --- a/src/renderer/views/List.vue +++ b/src/renderer/views/List.vue @@ -193,16 +193,16 @@ export default { window.eventHub.$on('key_shift_up', this.handle_key_shift_up) window.eventHub.$on('key_mod_down', this.handle_key_mod_down) window.eventHub.$on('key_mod_up', this.handle_key_mod_up) - window.eventHub.$on('key_mod+a_down', this.handle_mod_a_down) - window.eventHub.$on('key_mod+a_up', this.handle_mod_a_up) + window.eventHub.$on('key_mod+a_down', this.handle_key_mod_a_down) + window.eventHub.$on('key_mod+a_up', this.handle_key_mod_a_up) }, unlistenEvent() { window.eventHub.$off('key_shift_down', this.handle_key_shift_down) window.eventHub.$off('key_shift_up', this.handle_key_shift_up) window.eventHub.$off('key_mod_down', this.handle_key_mod_down) window.eventHub.$off('key_mod_up', this.handle_key_mod_up) - window.eventHub.$off('key_mod+a_down', this.handle_mod_a_down) - window.eventHub.$off('key_mod+a_up', this.handle_mod_a_up) + window.eventHub.$off('key_mod+a_down', this.handle_key_mod_a_down) + window.eventHub.$off('key_mod+a_up', this.handle_key_mod_a_up) }, handle_key_shift_down() { if (!this.keyEvent.isShiftDown) this.keyEvent.isShiftDown = true diff --git a/src/renderer/views/Search.vue b/src/renderer/views/Search.vue index 0af3f6c4..76d07977 100644 --- a/src/renderer/views/Search.vue +++ b/src/renderer/views/Search.vue @@ -171,16 +171,16 @@ export default { window.eventHub.$on('key_shift_up', this.handle_key_shift_up) window.eventHub.$on('key_mod_down', this.handle_key_mod_down) window.eventHub.$on('key_mod_up', this.handle_key_mod_up) - window.eventHub.$on('key_mod+a_down', this.handle_mod_a_down) - window.eventHub.$on('key_mod+a_up', this.handle_mod_a_up) + window.eventHub.$on('key_mod+a_down', this.handle_key_mod_a_down) + window.eventHub.$on('key_mod+a_up', this.handle_key_mod_a_up) }, unlistenEvent() { window.eventHub.$off('key_shift_down', this.handle_key_shift_down) window.eventHub.$off('key_shift_up', this.handle_key_shift_up) window.eventHub.$off('key_mod_down', this.handle_key_mod_down) window.eventHub.$off('key_mod_up', this.handle_key_mod_up) - window.eventHub.$off('key_mod+a_down', this.handle_mod_a_down) - window.eventHub.$off('key_mod+a_up', this.handle_mod_a_up) + window.eventHub.$off('key_mod+a_down', this.handle_key_mod_a_down) + window.eventHub.$off('key_mod+a_up', this.handle_key_mod_a_up) }, handle_key_shift_down() { if (!this.keyEvent.isShiftDown) this.keyEvent.isShiftDown = true