From 3667807a7b7418efc090ee3fa6a6b734bc3080bf Mon Sep 17 00:00:00 2001
From: xieb <vip_xiaobin810@163.com>
Date: Wed, 13 Sep 2023 20:36:29 +0800
Subject: [PATCH] Merge branch 'develop' of http://s16s652780.51mypc.cn:49896/r/yskj/iot_drone_web into develop
---
src/components/g-map/use-drone-control-ws-event.ts | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/src/components/g-map/use-drone-control-ws-event.ts b/src/components/g-map/use-drone-control-ws-event.ts
index 34981c2..cfcb1d3 100644
--- a/src/components/g-map/use-drone-control-ws-event.ts
+++ b/src/components/g-map/use-drone-control-ws-event.ts
@@ -19,12 +19,11 @@
}
if (data.type === ControlSourceChangeType.Payload && data.sn === payloadSn) {
payloadControlSource.value = data.control_source
- message.info(`Payload control is changed to ${ payloadControlSource.value }.`)
- return
+ message.info(`Payload control is changed to ${payloadControlSource.value}.`)
}
}
- function handleProgress(key: string, message: string, error: number) {
+ function handleProgress (key: string, message: string, error: number) {
if (error !== 0) {
notification.error({
key: key,
@@ -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
--
Gitblit v1.9.3