fix bug that it cannot input number in Page by right side keyboard
This commit is contained in:
parent
a68c11a565
commit
8e9874fd33
1 changed files with 1 additions and 1 deletions
|
@ -251,7 +251,7 @@
|
|||
},
|
||||
keyDown (e) {
|
||||
const key = e.keyCode;
|
||||
const condition = (key >= 48 && key <= 57) || key == 8 || key == 37 || key == 39;
|
||||
const condition = (key >= 48 && key <= 57) || (key >= 96 && key <= 105) || key == 8 || key == 37 || key == 39;
|
||||
|
||||
if (!condition) {
|
||||
e.preventDefault();
|
||||
|
|
Loading…
Add table
Reference in a new issue