Merge pull request #1331 from rijn/1318
fix bug that it cannot input number in Page by right side keyboard
This commit is contained in:
commit
449c9e78f3
1 changed files with 1 additions and 1 deletions
|
@ -251,7 +251,7 @@
|
||||||
},
|
},
|
||||||
keyDown (e) {
|
keyDown (e) {
|
||||||
const key = e.keyCode;
|
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) {
|
if (!condition) {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
|
|
Loading…
Add table
Reference in a new issue