From ba3686bf807cccf3f246326d0390a3d4ee183dde Mon Sep 17 00:00:00 2001 From: jmal Date: Fri, 12 Jul 2024 15:59:43 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E8=BE=93=E5=85=A5?= =?UTF-8?q?=E6=97=B6=E6=8C=89=E7=A9=BA=E6=A0=BC=E4=BC=9A=E6=B8=85=E7=A9=BA?= =?UTF-8?q?=E8=BE=93=E5=85=A5=E6=A1=86=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/components/ShowFile/ShowFile.vue | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/components/ShowFile/ShowFile.vue b/src/components/ShowFile/ShowFile.vue index 0328683..f3e195a 100644 --- a/src/components/ShowFile/ShowFile.vue +++ b/src/components/ShowFile/ShowFile.vue @@ -1344,11 +1344,9 @@ export default { } // space if (keyCode === 32) { - if (!this.inputting) { - if (this.selectRowData.length > 0 && !this.drawer) { - this.drawer = true - this.drawerShowTime = Date.now() - } + if (!this.inputting && this.selectRowData.length > 0 && !this.drawer) { + this.drawer = true + this.drawerShowTime = Date.now() event.preventDefault() event.stopPropagation() }