husq
2023-10-16 f0dc1b56a04a9d6d6f0b61e3f866362c81a67d4d
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(ControlSource.A)
  const droneControlSource = ref('')
  const payloadControlSource = ref(ControlSource.B)
  function onControlSourceChange (data: ControlSourceChangeInfo) {
    if (data.type === ControlSourceChangeType.Flight && data.sn === sn) {