修复 固定列高度表头高度不一致问题

This commit is contained in:
2betop 2020-12-01 15:10:00 +08:00
parent 6d91c817cc
commit a94ab4da2c

View File

@ -800,7 +800,7 @@ export default class Table extends React.Component<TableProps, object> {
(item: HTMLElement) => {
const width = widths[item.getAttribute('data-index') as string];
item.style.cssText += `width: ${width}px`;
item.style.cssText += `width: ${width}px; height: ${heights.header}px`;
totalWidth += width;
}
);