From c731027f9b35e18b97334cb855fb673ec6a09e54 Mon Sep 17 00:00:00 2001 From: dopamine Date: Tue, 15 Aug 2023 21:01:46 +0800 Subject: [PATCH] fix(components): [table-v2] calculate the width of MainTable in the same way (#13584) * fix(components): [table-v2] calculate the width of MainTable in the same way * fix: duplicate properties --- packages/components/table-v2/src/table-v2.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/components/table-v2/src/table-v2.tsx b/packages/components/table-v2/src/table-v2.tsx index 01b2a46f48..e93ed8f9e8 100644 --- a/packages/components/table-v2/src/table-v2.tsx +++ b/packages/components/table-v2/src/table-v2.tsx @@ -143,7 +143,7 @@ const TableV2 = defineComponent({ data: _data, fixedData, estimatedRowHeight, - bodyWidth: unref(bodyWidth), + bodyWidth: unref(bodyWidth) + vScrollbarSize, headerHeight, headerWidth: unref(headerWidth), height: unref(mainTableHeight),