From 48a18736c461ad730bd264b0ac7b40b68a0e33a1 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期日, 28 六月 2020 20:30:20 +0800
Subject: [PATCH] 2020-06-28

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

diff --git a/src/tabviews/zshare/actionList/exceloutbutton/index.jsx b/src/tabviews/zshare/actionList/exceloutbutton/index.jsx
index 1ef641f..c6cf2a8 100644
--- a/src/tabviews/zshare/actionList/exceloutbutton/index.jsx
+++ b/src/tabviews/zshare/actionList/exceloutbutton/index.jsx
@@ -376,12 +376,16 @@
         let verifyColumn = {} // 璁板綍楠岃瘉淇℃伅涓殑Excel鍒楅厤缃�
         if (btn.verify && btn.verify.columns && btn.verify.columns.length > 0) {
           btn.verify.columns.forEach(col => {
+            if (col.export === 'false') {
+              hidecolumns.push(col.Column)
+              return
+            }
             verifyColumn[col.Column] = col
           })
         }
 
         columns.forEach(col => {
-          if (col.Hide === 'true') {
+          if (col.Hide === 'true' || hidecolumns.includes(col.field)) {
             hidecolumns.push(col.field)
             return
           }

--
Gitblit v1.8.0