mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-01 03:28:20 +08:00
Merge pull request #166 from catchonme/master
修复table同时使用combinNum和fixed时td高度显示错误问题
This commit is contained in:
commit
fff0892cea
@ -505,7 +505,7 @@ export default class Table extends React.Component<TableProps, object> {
|
||||
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)
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user