Commit 449c9e78f3ae4f04514e4a849eeea5cc63884e09

Authored by Aresn
Committed by GitHub
2 parents a68c11a5 8e9874fd

Merge pull request #1331 from rijn/1318

fix bug that it cannot input number in Page by right side keyboard
Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/components/page/page.vue
@@ -251,7 +251,7 @@ @@ -251,7 +251,7 @@
251 }, 251 },
252 keyDown (e) { 252 keyDown (e) {
253 const key = e.keyCode; 253 const key = e.keyCode;
254 - const condition = (key >= 48 && key <= 57) || key == 8 || key == 37 || key == 39; 254 + const condition = (key >= 48 && key <= 57) || (key >= 96 && key <= 105) || key == 8 || key == 37 || key == 39;
255 255
256 if (!condition) { 256 if (!condition) {
257 e.preventDefault(); 257 e.preventDefault();