Explorar o código

websocket修改

王通 %!s(int64=2) %!d(string=hai) anos
pai
achega
fb79727089
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/components/vBottomMenu.vue

+ 1 - 1
src/components/vBottomMenu.vue

@@ -527,7 +527,7 @@
         selectConfigKey(wsurl).then(res => {
           //初始化weosocket
           //const wsuri = 'ws://127.0.0.1:10003/eventPush/' + userId + '/' + eventTypeDl + '/' + eventType
-          const wsuri = res.data + userId +postName+ userId
+          const wsuri = res.data +postName+ userId
           // const wsuri = 'ws://172.28.20.82:10012/taskPush/'+userId
           this.websock = new WebSocket(wsuri)
           //console.log('建立websocket连接' + wsuri)