Browse Source

fix(Table, SelectionCheckboxAll): add eslint comment

pull/19080/head
kristof0425 5 years ago
committed by 偏右
parent
commit
1d5bd4a7aa
  1. 1
      components/table/Table.tsx

1
components/table/Table.tsx

@ -179,6 +179,7 @@ export default class Table<T> extends React.Component<TableProps<T>, TableState<
});
}
// eslint-disable-next-line camelcase
UNSAFE_componentWillReceiveProps(nextProps: TableProps<T>) {
this.columns = nextProps.columns || normalizeColumns(nextProps.children as React.ReactChildren);
if ('pagination' in nextProps || 'pagination' in this.props) {

Loading…
Cancel
Save