sean.zhou
2023-05-18 763e39bd71d83a6501ebdebf0d53130797bd5d73
src/components/g-map/use-drone-control-ws-event.ts
@@ -20,7 +20,6 @@
    if (data.type === ControlSourceChangeType.Payload && data.sn === payloadSn) {
      payloadControlSource.value = data.control_source
      message.info(`Payload control is changed to ${ payloadControlSource.value }.`)
      return
    }
  }
@@ -72,7 +71,6 @@
      }
      case EBizCode.DrcStatusNotify: {
        const { sn: deviceSn, result, message: msg } = payload.data as DrcStatusNotifyMessage
        if (deviceSn !== sn) return
        // handleProgress(EBizCode.DrcStatusNotify, `device(sn: ${deviceSn}) ${msg}`, result)
        break