From f9730906ff42d4d2a57a999050dd10b17fe9ee53 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 07 三月 2024 21:05:55 +0800 Subject: [PATCH] 2024-03-07 --- 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