From 4fb0c56fe4c98ef38bc4cfee497ff10301121d5d Mon Sep 17 00:00:00 2001
From: husq <931347610@qq.com>
Date: Mon, 09 Oct 2023 14:13:20 +0800
Subject: [PATCH] Merge branch 'demo' of http://s16s652780.51mypc.cn:49896/r/yskj/iot_drone_web into demo

---
 src/components/g-map/use-drone-control-ws-event.ts |    4 ++--
 1 files changed, 2 insertions(+), 2 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 cfcb1d3..b6282ef 100644
--- a/src/components/g-map/use-drone-control-ws-event.ts
+++ b/src/components/g-map/use-drone-control-ws-event.ts
@@ -14,12 +14,12 @@
   function onControlSourceChange (data: ControlSourceChangeInfo) {
     if (data.type === ControlSourceChangeType.Flight && data.sn === sn) {
       droneControlSource.value = data.control_source
-      message.info(`Flight control is changed to ${droneControlSource.value}`)
+      message.info(`飞行控制改为 ${droneControlSource.value}`)
       return
     }
     if (data.type === ControlSourceChangeType.Payload && data.sn === payloadSn) {
       payloadControlSource.value = data.control_source
-      message.info(`Payload control is changed to ${payloadControlSource.value}.`)
+      message.info(`负载控制改为 ${payloadControlSource.value}.`)
     }
   }
 

--
Gitblit v1.9.3