mirror of
https://github.com/element-plus/element-plus.git
synced 2024-12-27 03:01:14 +08:00
fix(autocomplete): fix clearable doesn't work (#892)
This commit is contained in:
parent
02099395cb
commit
fa632b875e
@ -254,6 +254,7 @@ export default defineComponent({
|
||||
}
|
||||
const handleClear = () => {
|
||||
activated.value = false
|
||||
ctx.emit(UPDATE_MODEL_EVENT, '')
|
||||
ctx.emit('clear')
|
||||
}
|
||||
const handleKeyEnter = () => {
|
||||
|
Loading…
Reference in New Issue
Block a user