From 523cec6c87d88b43954a4409a8dfde6aade095a1 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期五, 22 五月 2020 11:02:10 +0800
Subject: [PATCH] 2020-05-22

---
 src/templates/subtableconfig/index.jsx |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/templates/subtableconfig/index.jsx b/src/templates/subtableconfig/index.jsx
index 0776283..0b5dbf0 100644
--- a/src/templates/subtableconfig/index.jsx
+++ b/src/templates/subtableconfig/index.jsx
@@ -779,7 +779,7 @@
    */
   setSubConfig = (btn) => {
     const {menu, editTab, tabConfig, editSubTab, btnTab, btnTabConfig} = this.props
-    const { config, originConfig, activeKey } = this.state
+    const { config, originConfig, activeKey, openEdition } = this.state
 
     if (originConfig.isAdd) {
       notification.warning({
@@ -815,8 +815,10 @@
 
           if (editSubTab) {
             editSubTab.activeKey = activeKey
+            editSubTab.open_edition = openEdition  // 鏇存柊鐗堟湰鍙�
           } else {
             editTab.activeKey = activeKey
+            editTab.open_edition = openEdition     // 鏇存柊鐗堟湰鍙�
           }
 
           let param = {

--
Gitblit v1.8.0