[Improvement] Rate: add change event (#1102)

This commit is contained in:
neverland
2018-05-19 09:23:06 +08:00
committed by GitHub
parent 9bafa62ba4
commit 86a2569614
3 changed files with 15 additions and 2 deletions
+1
View File
@@ -66,6 +66,7 @@ export default create({
onSelect(index) {
if (!this.disabled) {
this.$emit('input', index + 1);
this.$emit('change', index + 1);
}
}
}