From 7a75537c6fb888fe55515b89b6e02d0852d73332 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期五, 08 三月 2024 21:09:00 +0800
Subject: [PATCH] Merge branch 'develop'

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

diff --git a/src/tabviews/zshare/actionList/exceloutbutton/index.jsx b/src/tabviews/zshare/actionList/exceloutbutton/index.jsx
index 59c62e1..5db6635 100644
--- a/src/tabviews/zshare/actionList/exceloutbutton/index.jsx
+++ b/src/tabviews/zshare/actionList/exceloutbutton/index.jsx
@@ -529,6 +529,9 @@
                 val = Math.round(val * col.round) / col.round
                 // val = val.toFixed(col.decimal)
               }
+              if (col.noValue === 'false' && val === 0) {
+                val = ''
+              }
             }
 
             _row[col.Column] = val
@@ -620,6 +623,9 @@
                 val = Math.round(val * col.round) / col.round
                 // val = val.toFixed(col.decimal)
               }
+              if (col.noValue === 'false' && val === 0) {
+                val = ''
+              }
             }
 
             _row[col.Column] = val

--
Gitblit v1.8.0