Browse Source

Revert "fix"

This reverts commit 839d0dcb09.
pull/13919/head
Wei Zhu 6 years ago
parent
commit
96e1d770ec
  1. 2
      components/table/Table.tsx

2
components/table/Table.tsx

@ -776,7 +776,7 @@ export default class Table<T> extends React.Component<TableProps<T>, TableState<
}
getColumnKey(column: ColumnProps<T>, index?: number) {
return column.key || (column.dataIndex as string) || index;
return column.key || column.dataIndex || index;
}
getMaxCurrent(total: number) {

Loading…
Cancel
Save