From 58815ca0a90fbf3b737a5417b016ebaa15bf6122 Mon Sep 17 00:00:00 2001 From: labike Date: Fri, 31 Jul 2020 13:35:44 +0800 Subject: [PATCH] fix(bug): fix table height --- components/vc-table/src/Table.jsx | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/components/vc-table/src/Table.jsx b/components/vc-table/src/Table.jsx index 90dce9b5c4..912138895b 100644 --- a/components/vc-table/src/Table.jsx +++ b/components/vc-table/src/Table.jsx @@ -303,10 +303,11 @@ export default { bodyRows, (acc, row) => { const rowKey = row.getAttribute('data-row-key'); - const height = - row.getBoundingClientRect().height || - state.fixedColumnsBodyRowsHeight[rowKey] || - 'auto'; + const height = 'auto'; + // const height = + // row.getBoundingClientRect().height || + // state.fixedColumnsBodyRowsHeight[rowKey] || + // 'auto'; acc[rowKey] = height; return acc; },