| src/components/g-map/use-drone-control-ws-event.ts | ●●●●● 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) {