mirror of
https://github.com/element-plus/element-plus.git
synced 2025-01-12 10:45:10 +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 = () => {
|
const handleClear = () => {
|
||||||
activated.value = false
|
activated.value = false
|
||||||
|
ctx.emit(UPDATE_MODEL_EVENT, '')
|
||||||
ctx.emit('clear')
|
ctx.emit('clear')
|
||||||
}
|
}
|
||||||
const handleKeyEnter = () => {
|
const handleKeyEnter = () => {
|
||||||
|
Loading…
Reference in New Issue
Block a user