From f61099ecadff110fe36f22695a67c046b5ffefe7 Mon Sep 17 00:00:00 2001 From: lyswhut Date: Fri, 8 Apr 2022 11:43:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8C=89=E9=94=AE=E7=BB=91?= =?UTF-8?q?=E5=AE=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/renderer/views/list/components/SearchList.vue | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/renderer/views/list/components/SearchList.vue b/src/renderer/views/list/components/SearchList.vue index a830c963..b5477de0 100644 --- a/src/renderer/views/list/components/SearchList.vue +++ b/src/renderer/views/list/components/SearchList.vue @@ -177,12 +177,10 @@ export default { } }, handle_key_mod_down() { - this.isModDown = true + if (!this.isModDown) this.isModDown = true }, handle_key_mod_up() { - setTimeout(() => { - this.isModDown = false - }, 100) + if (this.isModDown) this.isModDown = false }, handle_key_mod_f_down() { if (this.visible) this.$refs.dom_input.focus()