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/api/pilot-bridge.ts |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/api/pilot-bridge.ts b/src/api/pilot-bridge.ts
index 61bdf4e..86af3e2 100644
--- a/src/api/pilot-bridge.ts
+++ b/src/api/pilot-bridge.ts
@@ -1,5 +1,5 @@
 import { message } from 'ant-design-vue'
-import { EComponentName, EPhotoType, ERouterName } from '../types'
+import { EComponentName, ELocalStorageKey, EPhotoType, ERouterName } from '../types'
 import { CURRENT_CONFIG } from './http/config'
 import { EVideoPublishType, LiveStreamStatus } from '../types/live-stream'
 import { getRoot } from '/@/root'
@@ -93,6 +93,7 @@
       userName: '',
       elementPreName: 'PILOT'
     }
+    const token = localStorage.getItem(ELocalStorageKey.Token)
     components.set(EComponentName.Map, mapParam)
     const wsParam: WsParam = {
       host: CURRENT_CONFIG.websocketURL,

--
Gitblit v1.9.3