diff --git a/packages/components/select/src/useSelect.ts b/packages/components/select/src/useSelect.ts index 9a3fd76cd8..0db82a159b 100644 --- a/packages/components/select/src/useSelect.ts +++ b/packages/components/select/src/useSelect.ts @@ -407,7 +407,11 @@ export const useSelect = (props, states: States, ctx) => { originClientHeight || (input.clientHeight > 0 ? input.clientHeight + 2 : 0) const _tags = tags.value - const gotSize = getComponentSize(selectSize.value || form?.size) + const cssVarOfSelectSize = getComputedStyle(input).getPropertyValue( + ns.cssVarName('input-height') + ) + const gotSize = + cssVarOfSelectSize || getComponentSize(selectSize.value || form?.size) const sizeInMap = selectSize.value ||