From 433d25cc375f679ebace4ec832aa4ffb7e857b4b Mon Sep 17 00:00:00 2001
From: 罗广辉 <guanghui.luo@foxmail.com>
Date: Sat, 19 Apr 2025 22:18:35 +0800
Subject: [PATCH] feat: 事件跳转后台

---
 src/views/SignMachineNest/MachineLeft/InspectionRaskDetails.vue |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/views/SignMachineNest/MachineLeft/InspectionRaskDetails.vue b/src/views/SignMachineNest/MachineLeft/InspectionRaskDetails.vue
index b96be9b..f9f9890 100644
--- a/src/views/SignMachineNest/MachineLeft/InspectionRaskDetails.vue
+++ b/src/views/SignMachineNest/MachineLeft/InspectionRaskDetails.vue
@@ -155,7 +155,9 @@
 			label: {
 				show: true,
 				position: 'inside',
-				formatter: '{c}%',
+				formatter: function(params) {
+          return params.value > 0 ? params.value : ''
+        },
 				fontSize: 12,
 				color: '#fff',
 			},

--
Gitblit v1.9.3