From f86339a8fdf7bad18f68391f854d833ad1c75e92 Mon Sep 17 00:00:00 2001 From: catchonme Date: Thu, 15 Aug 2019 20:00:12 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dtable=E5=90=8C=E6=97=B6?= =?UTF-8?q?=E4=BD=BF=E7=94=A8combinNum=E5=92=8Cfixed=E6=97=B6td=E9=AB=98?= =?UTF-8?q?=E5=BA=A6=E6=98=BE=E7=A4=BA=E9=94=99=E8=AF=AF=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/renderers/Table.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderers/Table.tsx b/src/renderers/Table.tsx index 2641d5310..495b34f52 100644 --- a/src/renderers/Table.tsx +++ b/src/renderers/Table.tsx @@ -505,7 +505,7 @@ export default class Table extends React.Component { widths[item.getAttribute('data-index') as string] = item.clientWidth; }); forEach( - table.querySelectorAll('tbody>tr>*:first-child'), + table.querySelectorAll('tbody>tr>*:last-child'), (item: HTMLElement, index: number) => (heights[index] = item.clientHeight) );