From a4ba5d208b8335c634dffd612c2bf310b1dea607 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期一, 17 八月 2020 15:49:30 +0800
Subject: [PATCH] 2020-08-17

---
 src/templates/calendarconfig/index.jsx |   13 ++-----------
 1 files changed, 2 insertions(+), 11 deletions(-)

diff --git a/src/templates/calendarconfig/index.jsx b/src/templates/calendarconfig/index.jsx
index 2b46ea7..e9a685f 100644
--- a/src/templates/calendarconfig/index.jsx
+++ b/src/templates/calendarconfig/index.jsx
@@ -779,15 +779,6 @@
     })
   }
 
-  /**
-   * @description 鎵归噺娣诲姞锛屾洿鏂伴厤缃俊鎭�
-   */
-  updatefield = (config) => {
-    this.setState({
-      config: config
-    })
-  }
-
   // 骞村垏鎹㈡椂閲嶆柊鐢熸垚鏁版嵁
   changeDate = (year) => {
     this.setState({
@@ -830,7 +821,7 @@
                   config={config}
                   type="search"
                   tableFields={this.state.tableFields}
-                  updatefield={this.updatefield}
+                  updatefield={this.updateconfig}
                 />
               </Panel>
             </Collapse>
@@ -850,10 +841,10 @@
               </div>
             } style={{ width: '100%' }}>
               <SettingComponent
-                type="subtable"
                 config={config}
                 MenuID={config.uuid}
                 menuformRef={this.menuformRef}
+                tableFields={this.state.tableFields}
                 permFuncField={this.props.permFuncField}
                 updateConfig={this.updateconfig}
               />

--
Gitblit v1.8.0