fix(components): [select] input height calculation error (#14565)

closed #14561
This commit is contained in:
qiang 2023-10-17 23:27:40 -05:00 committed by GitHub
parent 495644e677
commit 808d7a6235
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -411,7 +411,8 @@ export const useSelect = (props, states: States, ctx) => {
ns.cssVarName('input-height')
)
const gotSize =
cssVarOfSelectSize || getComponentSize(selectSize.value || form?.size)
Number.parseFloat(cssVarOfSelectSize) ||
getComponentSize(selectSize.value || form?.size)
const sizeInMap =
selectSize.value ||