Skip to content

Commit

Permalink
fix:表格单选按钮在分页之后显示状态改变
Browse files Browse the repository at this point in the history
  • Loading branch information
shaohlr committed Nov 12, 2021
1 parent 1982d0d commit fc029dc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Grid.js
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,8 @@ class Grid extends Component {
handleSelectPage = eventKey => {
let { paginationObj = {} } = this.props;
this.setState({
activePage: eventKey
activePage: eventKey,
selectedRowIndex: ''
});
paginationObj.freshData && paginationObj.freshData(eventKey);
};
Expand Down

0 comments on commit fc029dc

Please sign in to comment.