husq
2023-10-16 974f6c7685ede38850ab7eea6037d402e60cb044
飞行控制逻辑修改
1 files modified
2 ■■■ changed files
src/components/g-map/use-drone-control-ws-event.ts 2 ●●● patch | view | raw | blame | history
src/components/g-map/use-drone-control-ws-event.ts
@@ -17,7 +17,7 @@
const store = useMyStore()
export function useDroneControlWsEvent (sn: string, payloadSn: string, funcs?: UseDroneControlWsEventParams) {
  const droneControlSource = ref('')
  const droneControlSource = ref(ControlSource.A)
  const payloadControlSource = ref(ControlSource.B)
  function onControlSourceChange (data: ControlSourceChangeInfo) {
    if (data.type === ControlSourceChangeType.Flight && data.sn === sn) {