mirror of
https://github.com/youzan/vant.git
synced 2026-05-02 01:01:43 +08:00
[Improvement] Rate: add change event (#1102)
This commit is contained in:
@@ -66,6 +66,7 @@ export default create({
|
||||
onSelect(index) {
|
||||
if (!this.disabled) {
|
||||
this.$emit('input', index + 1);
|
||||
this.$emit('change', index + 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user