mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-12 12:25:22 +08:00
fix(components): [autocomplete] optimize the select event type (#10105)
closed #8787
This commit is contained in:
parent
ed03cd42bb
commit
01ce124940
@ -95,7 +95,7 @@ export const autocompleteEmits = {
|
||||
focus: (evt: FocusEvent) => evt instanceof FocusEvent,
|
||||
blur: (evt: FocusEvent) => evt instanceof FocusEvent,
|
||||
clear: () => true,
|
||||
select: (item: { value: any }) => isObject(item),
|
||||
select: (item: Record<string, any>) => isObject(item),
|
||||
}
|
||||
export type AutocompleteEmits = typeof autocompleteEmits
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user