From 61ade6b8ec2bceaa06cb693fc6fc92e6627a1384 Mon Sep 17 00:00:00 2001 From: tangjinzhou <415800467@qq.com> Date: Fri, 19 Apr 2024 19:27:51 +0800 Subject: [PATCH] fix: autoComplete option slot error, close #7396 #7405 --- components/auto-complete/index.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/auto-complete/index.tsx b/components/auto-complete/index.tsx index 3e2b7a63f..e95ceba2c 100644 --- a/components/auto-complete/index.tsx +++ b/components/auto-complete/index.tsx @@ -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;