From 9a6d910840c67923914f4fe812e0c613612c33e5 Mon Sep 17 00:00:00 2001
From: husq <931347610@qq.com>
Date: Mon, 16 Oct 2023 17:51:06 +0800
Subject: [PATCH] 还原飞行控制
---
src/components/GMap.vue | 11 ++++++-----
1 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/src/components/GMap.vue b/src/components/GMap.vue
index 09bc5f8..08e0e0c 100644
--- a/src/components/GMap.vue
+++ b/src/components/GMap.vue
@@ -473,16 +473,17 @@
</a-row>
<a-row class="p5" align="middle" justify="space-between">
<a-col span="24">
- <a-button v-if="controlStatus != ''" :class="[openDroneControl ? 'active-color' : 'unactive-color']" class="width-100" type="primary"
+ <!-- <a-button v-if="controlStatus != ''" :class="[openDroneControl ? 'active-color' : 'unactive-color']" class="width-100" type="primary"
size="small" @click="openDeviceSetting">
- 飞行控制(<DesktopOutlined v-if="controlStatus === 'A'" /> <RobotFilled v-else />{{ controlStatus === 'A' ? 'A控' : 'B控'}}
- <!-- <template #icon> -->
- )
- <!-- </template> -->
+ 飞行控制(<DesktopOutlined v-if="controlStatus === 'A'" /> <RobotFilled v-else />{{ controlStatus === 'A' ? 'A控' : 'B控'}})
</a-button>
<a-button v-else :class="[openDroneControl ? 'active-color' : 'unactive-color']" class="width-100" type="primary"
size="small" @click="openDeviceSetting">
飞行控制
+ </a-button> -->
+ <a-button :class="[openDroneControl ? 'active-color' : 'unactive-color']" class="width-100" type="primary"
+ size="small" @click="openDeviceSetting">
+ 飞行控制
</a-button>
</a-col>
</a-row>
--
Gitblit v1.9.3