guoshilong
2023-09-11 11433d0f47eae3403e883fc26d72269b930235f2
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,