fix(components): [select-v2] fix select-v2 dropdown width (#8442)

Co-authored-by: qinzz <qinzz@chint.com>
This commit is contained in:
Cheerwhy
2022-06-24 22:24:22 +08:00
committed by GitHub
parent 272c2e6291
commit 5383ef9a0e

View File

@@ -200,7 +200,7 @@ const useSelect = (props: ExtractPropTypes<typeof SelectProps>, emit) => {
})
const calculatePopperSize = () => {
popperSize.value = selectRef.value?.getBoundingClientRect?.()?.width || 200
popperSize.value = selectRef.value?.offsetWidth || 200
}
const inputWrapperStyle = computed(() => {