From fc029dcc398608fe0a58007ee18de94ce3bfce20 Mon Sep 17 00:00:00 2001 From: shaohlr <15221565907@163.com> Date: Fri, 12 Nov 2021 13:44:36 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E8=A1=A8=E6=A0=BC=E5=8D=95=E9=80=89?= =?UTF-8?q?=E6=8C=89=E9=92=AE=E5=9C=A8=E5=88=86=E9=A1=B5=E4=B9=8B=E5=90=8E?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E7=8A=B6=E6=80=81=E6=94=B9=E5=8F=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Grid.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Grid.js b/src/Grid.js index 199a56b..660515b 100644 --- a/src/Grid.js +++ b/src/Grid.js @@ -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); };