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