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