mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-02 03:58:07 +08:00
修复 固定列高度表头高度不一致问题
This commit is contained in:
parent
6d91c817cc
commit
a94ab4da2c
@ -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;
|
||||
}
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user