weirenchun il y a 1 an
Parent
commit
4b9fb4ea33
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 2 1
      src/views/home/components/center.vue

+ 2 - 1
src/views/home/components/center.vue

@@ -112,7 +112,8 @@ export default {
       })
     },
     initWebSocket() {
-      const wsuri = 'ws://127.0.0.1:18200/websocket/bigData001'
+      // const wsuri = 'ws://127.0.0.1:18200/websocket/bigData001'
+      const wsuri = 'ws://prod.wutongshucloud.com/ws/websocket/bigData001'
       this.websock = new WebSocket(wsuri)
       this.websock.onmessage = this.websocketonmessage
       // 连接建立时触发