Refactor on InputNumber
parent
5c20059d18
commit
a651fede20
|
@ -262,7 +262,6 @@ export default {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onInput(event) {
|
onInput(event) {
|
||||||
debugger;
|
|
||||||
if (this.isSpecialChar) {
|
if (this.isSpecialChar) {
|
||||||
event.target.value = this.lastValue;
|
event.target.value = this.lastValue;
|
||||||
}
|
}
|
||||||
|
@ -542,7 +541,7 @@ export default {
|
||||||
},
|
},
|
||||||
onInputFocus(event) {
|
onInputFocus(event) {
|
||||||
this.focused = true;
|
this.focused = true;
|
||||||
this.$emit('blur', event);
|
this.$emit('focus', event);
|
||||||
},
|
},
|
||||||
onInputBlur(event) {
|
onInputBlur(event) {
|
||||||
this.focused = false;
|
this.focused = false;
|
||||||
|
|
Loading…
Reference in New Issue