From 5a4b3a97c8a9433c13fc16ce6d903b5b24cb40ee Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Sat, 31 Jan 2026 09:33:19 +0800
Subject: [PATCH] feat:地图弹窗显示调整

---
 applications/drone-command/src/components/map-container/components/DevicePopup.vue |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/applications/drone-command/src/components/map-container/components/DevicePopup.vue b/applications/drone-command/src/components/map-container/components/DevicePopup.vue
index e1f24f5..2f5c8a8 100644
--- a/applications/drone-command/src/components/map-container/components/DevicePopup.vue
+++ b/applications/drone-command/src/components/map-container/components/DevicePopup.vue
@@ -151,9 +151,9 @@
 	return `${val}台`
 })
 const popupRangeText = computed(() => {
-	const val = props.device?.effectiveRangeKm
+	const val = Number(props.device?.effectiveRangeKm).toFixed(0) || 0
 	if (val == null) return '-'
-	return `${val}KM`
+	return `${val}m`
 })
 </script>
 

--
Gitblit v1.9.3