From ded0a522a7747fb841719c13c8c35f13cf5cda4c Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期一, 15 十一月 2021 17:28:13 +0800 Subject: [PATCH] 2021-11-15 --- src/tabviews/custom/components/table/edit-table/index.jsx | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/tabviews/custom/components/table/edit-table/index.jsx b/src/tabviews/custom/components/table/edit-table/index.jsx index 9d6eea6..f21e91a 100644 --- a/src/tabviews/custom/components/table/edit-table/index.jsx +++ b/src/tabviews/custom/components/table/edit-table/index.jsx @@ -108,6 +108,7 @@ } this.setState({ + pageSize: setting.pageSize || 10, BID: BID || '', BData: BData || '', title: _config.wrap.title, @@ -373,7 +374,7 @@ const { setting } = this.state if (!setting.supModule || setting.supModule !== MenuID) return - if (id !== this.state.BID) { + if (id !== this.state.BID || id !== '') { this.setState({ pageIndex: 1, BID: id, -- Gitblit v1.8.0