fix: 修复输入时按空格会清空输入框的问题
This commit is contained in:
parent
8158187a8d
commit
b2e73dce4e
@ -1344,9 +1344,7 @@ export default {
|
||||
}
|
||||
// space
|
||||
if (keyCode === 32) {
|
||||
if (this.inputting || this.editingIndex !== -1) {
|
||||
event.target.select()
|
||||
} else {
|
||||
if (!this.inputting) {
|
||||
if (this.selectRowData.length > 0 && !this.drawer) {
|
||||
this.drawer = true
|
||||
this.drawerShowTime = Date.now()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user