fix: autoComplete option slot error, close #7396 #7405

This commit is contained in:
tangjinzhou 2024-04-19 19:27:51 +08:00
parent 4d35b8caa3
commit 61ade6b8ec

View File

@ -50,6 +50,8 @@ const AutoComplete = defineComponent({
props: autoCompleteProps(),
// emits: ['change', 'select', 'focus', 'blur'],
slots: Object as CustomSlotsType<{
option: any;
// deprecated, should use props `options` instead, not slot
options: any;
default: any;
notFoundContent: any;