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/formtabconfig/index.jsx |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/templates/formtabconfig/index.jsx b/src/templates/formtabconfig/index.jsx
index cf81b68..8f9a540 100644
--- a/src/templates/formtabconfig/index.jsx
+++ b/src/templates/formtabconfig/index.jsx
@@ -1551,7 +1551,7 @@
    */
   setSubConfig = (btn) => {
     const {menu, btnTab} = this.props
-    const { config, originMenu, activeKey } = this.state
+    const { config, originMenu, activeKey, openEdition } = this.state
 
     if (config.isAdd) {
       notification.warning({
@@ -1574,8 +1574,8 @@
             loading: true
           })
 
-          // 淇濆瓨褰撳墠鎵撳紑椤电
-          btnTab.activeKey = activeKey
+          btnTab.activeKey = activeKey       // 淇濆瓨褰撳墠鎵撳紑椤电
+          btnTab.open_edition = openEdition  // 鏇存柊鐗堟湰鍙�
 
           let param = {
             editMenu: menu,

--
Gitblit v1.8.0