fix(autocomplete): fix clearable doesn't work (#892)

This commit is contained in:
Ryan2128 2020-12-08 21:03:47 +08:00 committed by GitHub
parent 02099395cb
commit fa632b875e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -254,6 +254,7 @@ export default defineComponent({
}
const handleClear = () => {
activated.value = false
ctx.emit(UPDATE_MODEL_EVENT, '')
ctx.emit('clear')
}
const handleKeyEnter = () => {