From cc1a76df575c18f0d0ee96e8658461efdce3a918 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期二, 17 一月 2023 18:01:01 +0800 Subject: [PATCH] 2023-01-17 --- src/tabviews/custom/components/share/normalTable/index.jsx | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/src/tabviews/custom/components/share/normalTable/index.jsx b/src/tabviews/custom/components/share/normalTable/index.jsx index 5c7df59..328ccb5 100644 --- a/src/tabviews/custom/components/share/normalTable/index.jsx +++ b/src/tabviews/custom/components/share/normalTable/index.jsx @@ -837,7 +837,7 @@ MKEmitter.emit('resetSelectLine', MenuID, _id, _data) } - resetTable = (id, repage) => { + resetTable = (id, repage, pageIndex) => { const { MenuID } = this.props if (id !== MenuID) return @@ -848,6 +848,13 @@ activeIndex: null, pickup: false }) + } else if (repage === 'repage') { + this.setState({ + pageIndex: pageIndex, + selectedRowKeys: [], + activeIndex: null, + pickup: false + }) } else { this.setState({ pageIndex: 1, -- Gitblit v1.8.0