Commit 1790d2c9 authored by 杨奕's avatar 杨奕 Committed by GitHub

InputNumber: change event should fire after input event (#10553)

parent 422a8ac9
...@@ -196,8 +196,8 @@ ...@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment