Skip to content

Commit 61ade6b

Browse files
committed
fix: autoComplete option slot error, close #7396 #7405
1 parent 4d35b8c commit 61ade6b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

components/auto-complete/index.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ const AutoComplete = defineComponent({
5050
props: autoCompleteProps(),
5151
// emits: ['change', 'select', 'focus', 'blur'],
5252
slots: Object as CustomSlotsType<{
53+
option: any;
54+
// deprecated, should use props `options` instead, not slot
5355
options: any;
5456
default: any;
5557
notFoundContent: any;

0 commit comments

Comments
 (0)