mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-12 12:25:22 +08:00
Co-authored-by: “Jevin” <jevin@mogul-tech.com>
This commit is contained in:
parent
a152212d63
commit
77e7f41c17
@ -83,7 +83,7 @@ const useSelect = (props: ISelectProps, emit) => {
|
||||
const selectDisabled = computed(() => props.disabled || elForm?.disabled)
|
||||
|
||||
const popupHeight = computed(() => {
|
||||
const totalHeight = filteredOptions.value.length * 34
|
||||
const totalHeight = filteredOptions.value.length * props.itemHeight
|
||||
return totalHeight > props.height ? props.height : totalHeight
|
||||
})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user