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

pull/10557/head
杨奕 2018-04-04 14:02:16 +08:00 committed by GitHub
parent 422a8ac9c4
commit 1790d2c9fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -196,8 +196,8 @@
this.$refs.input.setCurrentValue(this.currentValue);
return;
}
this.$emit('change', newVal, oldVal);
this.$emit('input', newVal);
this.$emit('change', newVal, oldVal);
this.currentValue = newVal;
},
handleInputChange(value) {