mirror of
https://github.com/element-plus/element-plus.git
synced 2024-12-27 03:01:14 +08:00
fix(select): Fix select height error bug (#834)
Co-authored-by: bastarder <jie.qian@blockheaders.com>
This commit is contained in:
parent
790103596c
commit
b55e78b8d7
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user