fix(rate): remove the confusing this (#1910)

This commit is contained in:
Eyes22798
2021-05-01 23:09:47 +08:00
committed by GitHub
parent fbb3feaea8
commit c790aeb19f

View File

@@ -229,7 +229,7 @@ export default defineComponent({
}
if (props.allowHalf && pointerAtLeftHalf.value) {
emit('update:modelValue', currentValue.value)
emit('change', this.currentValue)
emit('change', currentValue.value)
} else {
emit('update:modelValue', value)
emit('change', value)