From df98a963cb138751bb58fd0e4f6bbc9238a017d7 Mon Sep 17 00:00:00 2001
From: husq <931347610@qq.com>
Date: Fri, 03 Nov 2023 01:23:35 +0800
Subject: [PATCH] 返航时添加实时轨迹

---
 src/pages/page-web/projects/tsa.vue |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/pages/page-web/projects/tsa.vue b/src/pages/page-web/projects/tsa.vue
index cfa3e6f..8417112 100644
--- a/src/pages/page-web/projects/tsa.vue
+++ b/src/pages/page-web/projects/tsa.vue
@@ -388,7 +388,7 @@
     // 3、4、5的时候代表飞行过程 绘制路线
     console.log(data.deviceInfo[data.currentSn], 'Aircraft')
     // eslint-disable-next-line eqeqeq
-    if (data.deviceInfo[data.currentSn].mode_code && (data.deviceInfo[data.currentSn].mode_code == 3 || data.deviceInfo[data.currentSn].mode_code == 4 || data.deviceInfo[data.currentSn].mode_code == 5)) {
+    if (data.deviceInfo[data.currentSn].mode_code && (data.deviceInfo[data.currentSn].mode_code == 3 || data.deviceInfo[data.currentSn].mode_code == 4 || data.deviceInfo[data.currentSn].mode_code == 5 || data.deviceInfo[data.currentSn].mode_code == 9)) {
       const newPositions = Cesium.Cartesian3.fromDegreesArray([data.deviceInfo[data.currentSn].longitude, data.deviceInfo[data.currentSn].latitude])
       previousPositions.value = previousPositions.value.concat(newPositions)
       //  更新线段的位置

--
Gitblit v1.9.3