fix: 修复输入时按空格会清空输入框的问题
This commit is contained in:
parent
b2e73dce4e
commit
ba3686bf80
@ -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()
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user