From b5591da48cf8cc2a3c3f76eec86dfdfa5bf47485 Mon Sep 17 00:00:00 2001
From: chenyao <1219716595@qq.com>
Date: Tue, 18 Feb 2025 11:31:31 +0800
Subject: [PATCH] 测试航线

---
 src/views/DronePilotDetails.vue |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/views/DronePilotDetails.vue b/src/views/DronePilotDetails.vue
index dea42e8..b4342f1 100644
--- a/src/views/DronePilotDetails.vue
+++ b/src/views/DronePilotDetails.vue
@@ -303,7 +303,8 @@
     case EBizCode.FlightTaskProgress: { // 获取进度
       // 如果点击列表进入没有获取到航线文件,那么这里重新请求一次
       console.log('航线有么?',payload)
-      if (ssLinePath.value == '') {
+      console.log('航线有么111?',ssLinePath.value)
+      if (!ssLinePath || ssLinePath.value == '') {
         getWrjSsLx()
       }
       break

--
Gitblit v1.9.3