From 061e2388d84fc545d01175ed6793ce8dea0e7338 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期二, 11 七月 2023 18:02:58 +0800
Subject: [PATCH] 2023-07-11

---
 src/templates/formtabconfig/index.jsx |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/src/templates/formtabconfig/index.jsx b/src/templates/formtabconfig/index.jsx
index d9b92c4..2a172db 100644
--- a/src/templates/formtabconfig/index.jsx
+++ b/src/templates/formtabconfig/index.jsx
@@ -28,6 +28,8 @@
 
 const { Panel } = Collapse
 const { confirm } = Modal
+
+const UpdateTable = asyncComponent(() => import('./updatetable'))
 const ModalForm = asyncComponent(() => import('@/templates/zshare/modalform'))
 const CreateFunc = asyncComponent(() => import('@/templates/zshare/createfunc'))
 const VerifyCard = asyncComponent(() => import('@/templates/zshare/verifycard'))
@@ -128,6 +130,9 @@
       }
       return item
     })
+
+    _config.btnId = btnTab.uuid
+    _config.btnName = btnTab.label
 
     this.setState({
       config: _config,
@@ -1568,6 +1573,7 @@
               </div>
             } bordered={false} extra={
               <div>
+                <UpdateTable config={config} menu={this.props.menu}/>
                 <Switch className="big" checkedChildren="鍚�" unCheckedChildren="鍋�" checked={this.state.config.enabled} onChange={this.onEnabledChange} />
                 <Button type="primary" onClick={this.submitConfig} loading={this.state.menuloading}>淇濆瓨</Button>
                 <Button onClick={this.cancelConfig}>杩斿洖</Button>

--
Gitblit v1.8.0