From 6d7eed59e8831c6e3f2d6b0760cbe6ce7ac35abc Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期三, 11 十二月 2024 13:37:57 +0800
Subject: [PATCH] 2024-12-11

---
 src/templates/zshare/editTable/index.jsx |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/src/templates/zshare/editTable/index.jsx b/src/templates/zshare/editTable/index.jsx
index 777fb99..c8a9cda 100644
--- a/src/templates/zshare/editTable/index.jsx
+++ b/src/templates/zshare/editTable/index.jsx
@@ -526,7 +526,12 @@
 
       if (!unique) return
 
-      data.unshift(res.data)
+      if (type === 'excelcolumn') {
+        data.push(res.data)
+      } else {
+        data.unshift(res.data)
+      }
+
       this.setState({ data, editingKey: '', editLineId: res.data.uuid || '' }, () => {
         this.props.onChange(data)
       })

--
Gitblit v1.8.0