吉安感知网项目-前端
shuishen
2026-03-05 d75d83bd2a1f4e13634f84f8a4de1f7457187b2b
applications/drone-command/src/components/map-container/components/DronePopup.vue
@@ -127,8 +127,7 @@
   const num = Number(value)
   if (!Number.isFinite(num)) return '-'
   const absVal = Math.abs(num).toFixed(6)
   const dir = type === 'lng' ? (num >= 0 ? 'E' : 'W') : num >= 0 ? 'N' : 'S'
   return `${absVal} ${dir}`
   return `${absVal}`
}
const height = computed(() => formatNumber(props.drone?.flightHeightM, 'm', 0))