From 3a54cfcf9aed329f779e3bbfdbf2a2bbd56fa4fd Mon Sep 17 00:00:00 2001 From: Kevin Date: Thu, 16 Apr 2020 22:14:32 +0800 Subject: [PATCH] Autocomplete: fix change event --- packages/autocomplete/src/autocomplete.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/autocomplete/src/autocomplete.vue b/packages/autocomplete/src/autocomplete.vue index ee32e60a19d..af8d1195cd2 100644 --- a/packages/autocomplete/src/autocomplete.vue +++ b/packages/autocomplete/src/autocomplete.vue @@ -197,8 +197,8 @@ } this.debouncedGetData(value); }, - handleChange(event) { - this.$emit('change', event.target.value); + handleChange(value) { + this.$emit('change', value); }, handleFocus(event) { this.activated = true;