罗广辉
2025-06-19 f27ca082eb0a839449dd50c49007b58e5ed6946f
src/components/GMap.vue
@@ -585,7 +585,7 @@
                  type="primary"
                  size="small"
                  @click="openAircra(1)">
                  M30T相机
                  {{ osdVisible.model || 'M30T' }}相机
                </a-button>
              </a-col>
            </a-row>
@@ -848,12 +848,9 @@
          :payloads="osdVisible.payloads">
        </DroneControlPanel>
      </div>
      <!-- <waylineTool /> -->
      <routeProfile />
    </div>
    <div class="event-wrapper" v-if="false">
      <eventEdit />
    </div>
    <eventEdit />
  </div>
</template>
@@ -927,7 +924,6 @@
import Cesium from './cesiumMap/cesium.vue'
import { convertTimestampToDate } from '/@/utils/time'
import { cesiumOperation } from '/@/hooks/use-cesium-tsa'
import waylineTool from './waylinetool/index.vue'
import routeProfile from './waylinetool/route-profile.vue'
export default defineComponent({
  components: {
@@ -954,7 +950,6 @@
    CarryOutOutlined,
    RocketOutlined,
    DesktopOutlined,
    waylineTool,
    routeProfile,
    eventEdit
  },
@@ -970,6 +965,7 @@
      label: string
      more?: any
    }
    // 打开飞行控制
    const openDroneControl = ref(false)
    const root = getRoot()
@@ -1171,7 +1167,13 @@
                  vadeosList: v.videos_list,
                }
              })
              aircraSelected.value = aircraftList.value[index].value
              // 展示这样写, fpv有问题
              if (aircraftList.value[index]) {
                aircraSelected.value = aircraftList.value[index].value
              } else {
                const i = aircraftList.value.length - 1
                aircraSelected.value = aircraftList.value[i].value
              }
              flyOnStart()
            } else {
              showAircraft.value = false
@@ -1640,7 +1642,7 @@
      aircrafIndex,
      airPortOption,
      controlStatus,
      convertTimestampToDate,
      convertTimestampToDate
    }
  },
})
@@ -1651,10 +1653,6 @@
.map-container {
  height: 100%;
  display: flex;
  .event-wrapper {
    width: 350px;
    height: 100%;
  }
}
.g-map-wrapper {