diff --git a/components/table/Table.tsx b/components/table/Table.tsx index c05bce45e8..66f389a24d 100755 --- a/components/table/Table.tsx +++ b/components/table/Table.tsx @@ -776,7 +776,7 @@ export default class Table extends React.Component, TableState< } getColumnKey(column: ColumnProps, index?: number) { - return column.key || (column.dataIndex as string) || index; + return column.key || column.dataIndex || index; } getMaxCurrent(total: number) {