mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-25 11:40:04 +08:00
fix: throws error when filtering data with pagination
set to false
, close #1842
This commit is contained in:
parent
56f4f0688d
commit
dbdd5c5da0
@ -262,9 +262,11 @@ export default class Table extends React.Component {
|
||||
}
|
||||
});
|
||||
|
||||
// Reset current prop
|
||||
pagination.current = 1;
|
||||
pagination.onChange(pagination.current);
|
||||
if (props.pagination) {
|
||||
// Reset current prop
|
||||
pagination.current = 1;
|
||||
pagination.onChange(pagination.current);
|
||||
}
|
||||
|
||||
const newState = {
|
||||
selectionDirty: false,
|
||||
|
Loading…
Reference in New Issue
Block a user