From 11433d0f47eae3403e883fc26d72269b930235f2 Mon Sep 17 00:00:00 2001
From: guoshilong <123456>
Date: Mon, 11 Sep 2023 16:51:20 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/develop' 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