mirror of https://github.com/ElemeFE/element
InputNumber: change event should fire after input event (#10553)
parent
422a8ac9c4
commit
1790d2c9fd
|
@ -196,8 +196,8 @@
|
||||||
this.$refs.input.setCurrentValue(this.currentValue);
|
this.$refs.input.setCurrentValue(this.currentValue);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this.$emit('change', newVal, oldVal);
|
|
||||||
this.$emit('input', newVal);
|
this.$emit('input', newVal);
|
||||||
|
this.$emit('change', newVal, oldVal);
|
||||||
this.currentValue = newVal;
|
this.currentValue = newVal;
|
||||||
},
|
},
|
||||||
handleInputChange(value) {
|
handleInputChange(value) {
|
||||||
|
|
Loading…
Reference in New Issue