From 0be474833723f98d3347880c874e939b55f920ed Mon Sep 17 00:00:00 2001
From: chenyao <1219716595@qq.com>
Date: Sat, 19 Apr 2025 16:36:40 +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 2c24401..32aa725 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