Skip to content

Commit c78162e

Browse files
committed
update
1 parent 61897f1 commit c78162e

File tree

2 files changed

+2
-14
lines changed

2 files changed

+2
-14
lines changed

src/VirtualTable/BodyGrid.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,6 @@ const Grid = React.forwardRef<GridRef, GridProps>((props, ref) => {
202202
extra
203203
getHeight={getHeight}
204204
scrollLeft={scrollLeft}
205-
columnsWidth={columnsWidth}
206205
/>
207206
);
208207
});

src/VirtualTable/BodyLine.tsx

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -17,26 +17,15 @@ export interface BodyLineProps<RecordType = any> {
1717
style?: React.CSSProperties;
1818
rowKey: React.Key;
1919
scrollLeft: number;
20-
columnsWidth: [key: React.Key, width: number, total: number][];
2120

2221
/** Render cell only when it has `rowSpan > 1` */
2322
extra?: boolean;
2423
getHeight?: (rowSpan: number) => number;
2524
}
2625

2726
const BodyLine = React.forwardRef<HTMLDivElement, BodyLineProps>((props, ref) => {
28-
const {
29-
data,
30-
index,
31-
className,
32-
rowKey,
33-
style,
34-
extra,
35-
getHeight,
36-
scrollLeft,
37-
columnsWidth,
38-
...restProps
39-
} = props;
27+
const { data, index, className, rowKey, style, extra, getHeight, scrollLeft, ...restProps } =
28+
props;
4029
const { record, indent, index: renderIndex } = data;
4130

4231
const { scrollX, flattenColumns, prefixCls, fixColumn, componentWidth } = useContext(

0 commit comments

Comments
 (0)