From 6f8ffaff7dd452ce405c4fdea313a70258f2ab25 Mon Sep 17 00:00:00 2001 From: Windson97 Date: Mon, 19 May 2025 16:23:55 +0800 Subject: [PATCH] fix(select): global dropdownMatchSelectWidth not work in select --- components/select/index.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/select/index.tsx b/components/select/index.tsx index d77100df9d..ed5027c4ef 100644 --- a/components/select/index.tsx +++ b/components/select/index.tsx @@ -142,6 +142,7 @@ const Select = defineComponent({ getPopupContainer, disabled, select, + dropdownMatchSelectWidth: configDropdownMatchSelectWidth, } = useConfigInject('select', props); const { compactSize, compactItemClassnames } = useCompactItemContext(prefixCls, direction); const mergedSize = computed(() => compactSize.value || contextSize.value); @@ -266,9 +267,9 @@ const Select = defineComponent({