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
This commit is contained in:
dopamine 2023-08-15 21:01:46 +08:00 committed by GitHub
parent 4315f02362
commit c731027f9b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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),