Browse Source

websocket修改

王通 2 years ago
parent
commit
fb79727089
1 changed files with 1 additions and 1 deletions
  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)