From 2cb09105d702ccae0644126ca6ea7f85e1f218bc Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期五, 10 十二月 2021 14:06:14 +0800
Subject: [PATCH] 2021-12-10

---
 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