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() }