feat: 虚拟滚动bug修复

master
LCJ-MinYa 10 months ago
parent f63ae9226c
commit affd1ea9ee

@ -70,13 +70,13 @@ const getTransform = computed(() => {
});
onMounted(() => {
containerHeight.value = virtualListContainer.value.clientHeight;
containerHeight.value = containerRef.value.clientHeight;
console.log('containerHeight容器高度为', containerHeight.value);
});
</script>
<style lang="scss" scoped>
.virtual-list-container {
.container {
width: 100%;
height: 100%;
position: relative;

Loading…
Cancel
Save