From 89380e6260a75d1d3b94de687ebcc2f50d50659d Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Tue, 03 Feb 2026 15:44:33 +0800
Subject: [PATCH] feat:环境变量配置调整

---
 applications/drone-command/src/views/detectionCountermeasure/detectionRange/index.vue |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/applications/drone-command/src/views/detectionCountermeasure/detectionRange/index.vue b/applications/drone-command/src/views/detectionCountermeasure/detectionRange/index.vue
index c2bda53..34735d3 100644
--- a/applications/drone-command/src/views/detectionCountermeasure/detectionRange/index.vue
+++ b/applications/drone-command/src/views/detectionCountermeasure/detectionRange/index.vue
@@ -204,8 +204,10 @@
 
 function formatRange(row) {
 	if (!row) return '-'
-	const value = row.effectiveRangeKm ?? row.range
-	return value === null || value === undefined || value === '' ? '-' : value
+
+	let value = row.effectiveRangeKm ?? row.range
+	
+	return value === null || value === undefined || value === '' ? '-' : Number(value).toFixed(0)
 }
 
 function formatDeviceCode(row) {

--
Gitblit v1.9.3