| src/samples/sockteStomp.ts | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/samples/sockteStomp.ts
@@ -135,7 +135,9 @@ const connectCallback=function(){ const pcName= os.hostname() // 订阅患者信息服务 stompClient.subscribe(`/queue/patient/info/${pcName}`,PatientCallback) if(stompClient!==null){ stompClient.subscribe(`/queue/patient/info/${pcName}`,PatientCallback) } console.log("链接成功",stompClient,pcName) // 更新sockte链接状态 sockteStore().setsockteIsLink(true)