From b468a4fa1558c674acbf0782456c23751360cdb5 Mon Sep 17 00:00:00 2001
From: Crunchy <3114200645@qq.com>
Date: 星期三, 24 七月 2024 21:09:48 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'
---
src/components/tool/value-table.vue | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/components/tool/value-table.vue b/src/components/tool/value-table.vue
index 21dba9f..3fa5c3c 100644
--- a/src/components/tool/value-table.vue
+++ b/src/components/tool/value-table.vue
@@ -627,7 +627,7 @@
if (this.isShowZero) {
this.tableData.map(item => {
Object.keys(item).forEach(val => {
- if (item[val] === null && val.includes('Hours')) {
+ if (item[val] === null && (val.includes('Hours') || val === 'total')) {
item[val] = 0
}
})
--
Gitblit v1.9.3