From 2bd90391353370e0f2aebc7719c5cc908cbe6316 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期一, 05 二月 2024 22:52:23 +0800
Subject: [PATCH] 2024-02-05

---
 src/tabviews/zshare/actionList/exceloutbutton/index.jsx |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/src/tabviews/zshare/actionList/exceloutbutton/index.jsx b/src/tabviews/zshare/actionList/exceloutbutton/index.jsx
index 1667d62..0866e67 100644
--- a/src/tabviews/zshare/actionList/exceloutbutton/index.jsx
+++ b/src/tabviews/zshare/actionList/exceloutbutton/index.jsx
@@ -484,7 +484,14 @@
     }
     
     try {
-      if (imgCol) {
+      if (btn.verify.excelHandle === 'true') {
+        // eslint-disable-next-line
+        let func = new Function('XLSX', 'data', 'columns', 'callback', btn.verify.excel_func)
+        func(XLSX, data, columns, (res) => {
+          res = res || {ErrCode: ErrCode || 'S', message: msg || '瀵煎嚭鎴愬姛锛�'}
+          this.execSuccess(res)
+        })
+      } else if (imgCol) {
         const column = columns.map(item => {
           let col = {
             title: item.Text, 

--
Gitblit v1.8.0