From affd1ea9eed7f9bf8cc3fc160978213fd2495524 Mon Sep 17 00:00:00 2001 From: LCJ-MinYa <1049468118@qq.com> Date: Mon, 24 Feb 2025 14:25:35 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E8=99=9A=E6=8B=9F=E6=BB=9A=E5=8A=A8bug?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/demo/virtualList.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/demo/virtualList.vue b/src/views/demo/virtualList.vue index 96f3c35..3d165d3 100644 --- a/src/views/demo/virtualList.vue +++ b/src/views/demo/virtualList.vue @@ -70,13 +70,13 @@ const getTransform = computed(() => { }); onMounted(() => { - containerHeight.value = virtualListContainer.value.clientHeight; + containerHeight.value = containerRef.value.clientHeight; console.log('containerHeight容器高度为:', containerHeight.value); });