From 7d9fb50b4e444ba3afec098ad031e93b4e9ee9ee Mon Sep 17 00:00:00 2001
From: GuLiMmo <2820890765@qq.com>
Date: Wed, 29 Nov 2023 10:20:26 +0800
Subject: [PATCH] 航线库修改/api打包后可修改

---
 src/components/task/CreatePlan.vue |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/src/components/task/CreatePlan.vue b/src/components/task/CreatePlan.vue
index 2e97739..6fc96bd 100644
--- a/src/components/task/CreatePlan.vue
+++ b/src/components/task/CreatePlan.vue
@@ -585,10 +585,6 @@
       createPlanBody.wayline_type = wayline.value.template_types[0]
     }
 
-    createPlanBody.execute_start_time_arr = getFlyTimeList(createPlanBody)
-
-    console.log('createPlanBody', createPlanBody)
-
     if (planBody.task_type === TaskType.Immediate || planBody.task_type === TaskType.Timed) {
       createPlan(workspaceId, createPlanBody)
         .then(res => {
@@ -597,6 +593,9 @@
           closePlan()
         })
     } else {
+      createPlanBody.execute_start_time_arr = getFlyTimeList(createPlanBody)
+      console.log(createPlanBody, '-----------------------')
+
       if (planBody.task_type === TaskType.Repeat) {
         createPlanBody.task_type = 1
       } else if (planBody.task_type === TaskType.Continuous) {

--
Gitblit v1.9.3