From c790aeb19ff34c1eec2fb06ba359c81874956a79 Mon Sep 17 00:00:00 2001 From: Eyes22798 <39994612+Eyes22798@users.noreply.github.com> Date: Sat, 1 May 2021 23:09:47 +0800 Subject: [PATCH] fix(rate): remove the confusing this (#1910) --- packages/rate/src/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/rate/src/index.vue b/packages/rate/src/index.vue index ddb04825ae..308a393c3f 100644 --- a/packages/rate/src/index.vue +++ b/packages/rate/src/index.vue @@ -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)