From 1a14ff6035932eadfb6ef7970e3adb24b4e158a6 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期三, 18 十二月 2019 18:56:17 +0800
Subject: [PATCH] 2019-12-18

---
 src/templates/comtableconfig/dragelement/index.jsx |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/src/templates/comtableconfig/dragelement/index.jsx b/src/templates/comtableconfig/dragelement/index.jsx
index a0a26d7..7c00ea3 100644
--- a/src/templates/comtableconfig/dragelement/index.jsx
+++ b/src/templates/comtableconfig/dragelement/index.jsx
@@ -15,7 +15,6 @@
     const _cards = update(cards, { $splice: [[index, 1], [atIndex, 0, card]] })
     setCards(_cards)
     handleList(type, _cards)
-    // handleList({[type]: _cards})
   }
 
   const findCard = id => {
@@ -105,6 +104,11 @@
         newcard.callbackFunc = ''
         newcard.pageTemplate = ''
         newcard.url = ''
+
+        if (item.subType === 'excelIn' || item.subType === 'excelOut') {
+          // 瀵煎叆鍜屽鍑篹xcel锛屾寜閽悕绉扮洿鎺ヤ负瀵煎叆銆佸鍑�
+          newcard.label = item.label
+        }
       } else if (item.type === 'columns') {
         newcard.uuid = Utils.getuuid()
         newcard.Align = 'left'

--
Gitblit v1.8.0