From 24c2481ebf1d3c1dcbbf6a3736b7727587581acf Mon Sep 17 00:00:00 2001 From: candychuang Date: Tue, 24 Aug 2021 20:09:53 +0800 Subject: [PATCH] fix(auto-complete): cannot use configProvider prefixCls #4566 --- components/auto-complete/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/auto-complete/index.tsx b/components/auto-complete/index.tsx index d9e43f7538..ab8cc9bb9b 100644 --- a/components/auto-complete/index.tsx +++ b/components/auto-complete/index.tsx @@ -33,7 +33,7 @@ const AutoComplete = defineComponent({ inheritAttrs: false, props: { ...autoCompleteProps, - prefixCls: PropTypes.string.def('ant-select'), + prefixCls: PropTypes.string, showSearch: PropTypes.looseBool, transitionName: PropTypes.string.def('slide-up'), choiceTransitionName: PropTypes.string.def('zoom'),