From 83d4c07a67e7588e3938237cfad9eaa6be5ea6c5 Mon Sep 17 00:00:00 2001
From: sean.zhou <sean.zhou@dji.com>
Date: Mon, 12 Dec 2022 19:00:47 +0800
Subject: [PATCH] initial v1.3.1

---
 src/store/index.ts |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/src/store/index.ts b/src/store/index.ts
index 00a49fa..95d170b 100644
--- a/src/store/index.ts
+++ b/src/store/index.ts
@@ -121,9 +121,10 @@
     if (info.host.sdr) {
       dock.sdr = info.host.sdr
       dock.media_file_detail = info.host.media_file_detail
+      dock.wireless_link = info.host.wireless_link
       return
     }
-    if (info.host.job_number !== undefined) {
+    if (info.host.job_number) {
       if (info.host.drone_battery_maintenance_info) {
         dock.drone_battery_maintenance_info = info.host.drone_battery_maintenance_info
       }
@@ -131,9 +132,11 @@
     }
     const sdr = dock.sdr
     const mediaFileDetail = dock.media_file_detail
+    const wireless = dock.wireless_link
     state.deviceState.dockInfo[info.sn] = info.host
     state.deviceState.dockInfo[info.sn].sdr = sdr
     state.deviceState.dockInfo[info.sn].media_file_detail = mediaFileDetail
+    state.deviceState.dockInfo[info.sn].wireless_link = wireless
   },
   SET_DRAW_VISIBLE_INFO (state, bool) {
     state.drawVisible = bool

--
Gitblit v1.9.3