fix(design): element-plus select中scrollbar变量名改变

This commit is contained in:
roymondchen 2024-03-22 13:27:09 +08:00
parent b564907b12
commit 6ccd8bb06b

View File

@ -50,7 +50,7 @@ const visibleHandler = (...args: any[]) => {
const scrollbarWrap = ref<HTMLDivElement | undefined>();
const unWatch = watch(
() => select.value?.scrollbar?.wrap$ || select.value?.scrollbar?.wrapRef,
() => select.value?.scrollbar?.wrap$ || select.value?.scrollbar?.wrapRef || select.value?.scrollbarRef?.wrapRef,
(wrap) => {
if (!wrap) {
return;