src/samples/sockteStomp.ts
@@ -1,6 +1,5 @@ import Stomp from 'stompjs' import os from 'os' import { ipcRenderer } from 'electron' let stompClient: Stomp.Client | null=null import { confingInfoStore } from '@/stores/StoresConfing' @@ -170,7 +169,7 @@ // 创建客户端链接 const creatorClient=(configObj:any)=>{ config=configObj devices=configObj.deviceList // devices=configObj.deviceList clientCode=configObj.clientCode console.log(devices,'设备列表','chong') const socket = new WebSocket('ws://hemobs.icoldchain.cn/broadcast')