diff --git a/src/components/table/VirtualScrollTable.vue b/src/components/table/VirtualScrollTable.vue index 49531ea..e1e72f3 100644 --- a/src/components/table/VirtualScrollTable.vue +++ b/src/components/table/VirtualScrollTable.vue @@ -34,6 +34,11 @@ const scrollBarTop = computed(() => { return h + 'px'; }) +const itemHeightStyle = computed(() => { + const h = props.itemHeight ?? 0; + + return h + 'px'; +})