From ab949bb71eadda3ec1736ccdcfaa1b12b04cce6a Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期日, 05 十一月 2023 10:35:56 +0800
Subject: [PATCH] Merge branch 'develop'

---
 src/menu/components/table/edit-table/columns/index.jsx |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/menu/components/table/edit-table/columns/index.jsx b/src/menu/components/table/edit-table/columns/index.jsx
index e6e92ee..a141757 100644
--- a/src/menu/components/table/edit-table/columns/index.jsx
+++ b/src/menu/components/table/edit-table/columns/index.jsx
@@ -190,8 +190,9 @@
 
 class NormalTableColumns extends Component {
   static propTpyes = {
-    config: PropTypes.object,       // 閰嶇疆淇℃伅
-    updatecolumn: PropTypes.func    // 鏁版嵁鍙樺寲
+    config: PropTypes.object,
+    updatecolumn: PropTypes.func,
+    addColumns: PropTypes.func
   }
 
   state = {
@@ -691,6 +692,7 @@
           } trigger="hover">
             <Button className="submit-btn" style={config.submit.style} onDoubleClick={() => this.setState({visible: true})} type="primary">鎻愪氦</Button>
           </Popover>
+          <PlusOutlined title="娣诲姞鍒�" onClick={this.props.addColumns}/>
           <CopyOutlined title="澶嶅埗鏄剧ず鍒�" onClick={this.copycolumn} />
           <MarkColumn columns={fields} type="line" marks={lineMarks} onSubmit={this.updateLineMarks} />
           <ColsControl config={config} onSubmit={this.props.updatecolumn}/>

--
Gitblit v1.8.0