|
@@ -175,7 +175,7 @@ export default {
|
|
|
}
|
|
|
|
|
|
watch(() => mapStore.currentUavInfo, (val) => {
|
|
|
- option.series[0].data[0].value = mapStore.currentUavInfo.speed;
|
|
|
+ option.series[0].data[0].value = parseFloat(mapStore.currentUavInfo.speed.toFixed(2));
|
|
|
singleLength.value = mapStore.currentUavInfo.lastFlightDistance;
|
|
|
singleTime.value = mapStore.currentUavInfo.lastFlightTime;
|
|
|
setOptions(document.getElementById('chart-ybp'), option)
|