fix(select): Fix select height error bug (#834)

Co-authored-by: bastarder <jie.qian@blockheaders.com>
This commit is contained in:
bastarder 2020-12-04 16:58:39 +08:00 committed by GitHub
parent 790103596c
commit b55e78b8d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -346,7 +346,7 @@ export default defineComponent({
small: 32,
mini: 28,
}
const input = reference.value.$el
const input = reference.value.input
states.initialInputHeight = input.getBoundingClientRect().height || sizeMap[selectSize.value]
}
if (props.remote && props.multiple) {