fix: InputNumber does not work on Android devices fix
parent
333bebd513
commit
fd0280a3c5
|
@ -387,8 +387,9 @@ export default {
|
||||||
let selectionEnd = event.target.selectionEnd;
|
let selectionEnd = event.target.selectionEnd;
|
||||||
let inputValue = event.target.value;
|
let inputValue = event.target.value;
|
||||||
let newValueStr = null;
|
let newValueStr = null;
|
||||||
|
const code = event.code || event.key;
|
||||||
|
|
||||||
switch (event.code) {
|
switch (code) {
|
||||||
case 'ArrowUp':
|
case 'ArrowUp':
|
||||||
this.spin(event, 1);
|
this.spin(event, 1);
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
|
|
Loading…
Reference in New Issue