Skip to content

Commit

Permalink
fix(table): Protable support EXPAND_COLUMN and SELECTION_COLUMN
Browse files Browse the repository at this point in the history
close #7115
  • Loading branch information
chenshuai2144 committed Jul 17, 2023
1 parent 27667aa commit 3454347
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/table/src/utils/genProColumnToColumn.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ export function genProColumnToColumn<T>(

return columns
?.map((columnProps, columnsIndex) => {
if (columnProps === Table.EXPAND_COLUMN) return columnProps;
if (columnProps === Table.SELECTION_COLUMN) return columnProps;
const {
key,
dataIndex,
Expand Down Expand Up @@ -174,7 +176,6 @@ export function genProColumnToColumn<T>(
subName: subNameRecord.get(uniqueKey),
editableUtils,
};

return columnRender<T>(renderProps);
},
};
Expand Down

0 comments on commit 3454347

Please sign in to comment.