JX.LI 2 years ago
parent
commit
2c58c3e4b4
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/components/vBottomMenu.vue

+ 2 - 2
src/components/vBottomMenu.vue

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