From a5f41b5d98f23d618dc7519c605ce943b114dfd5 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期一, 13 十一月 2023 18:07:51 +0800
Subject: [PATCH] 2023-11-13

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

diff --git a/src/menu/components/table/edit-table/index.jsx b/src/menu/components/table/edit-table/index.jsx
index 2688b14..7c38a7a 100644
--- a/src/menu/components/table/edit-table/index.jsx
+++ b/src/menu/components/table/edit-table/index.jsx
@@ -74,6 +74,10 @@
         _card.cols.splice(_card.mergeCol[0], 1, ...col.pops)
       }
 
+      if (_card.wrap.commit === 'simple') {
+        _card.wrap.commit = 'change'
+      }
+
       this.setState({
         card: _card
       })
@@ -367,7 +371,7 @@
         </Popover>
         <SearchComponent config={card} updatesearch={this.updateComponent}/>
         <ActionComponent config={card} setSubConfig={this.setSubConfig} updateaction={this.updateComponent}/>
-        <ColumnComponent config={card} updatecolumn={this.updatecolumn}/>
+        <ColumnComponent config={card} updatecolumn={this.updatecolumn} addColumns={this.addColumns}/>
         <div className="component-name">
           <div className="center">
             <div className="title" onDoubleClick={() => {

--
Gitblit v1.8.0