|
|
@ -758,11 +758,8 @@ export default { |
|
|
|
}, self.timeout) |
|
|
|
}, |
|
|
|
initWebSoket() { |
|
|
|
// wss://127.0.0.1:8030/data |
|
|
|
// const url = 'ws://47.110.224.240:8036/xiangan-crf/websocket/0071' |
|
|
|
const url = 'ws://192.168.0.119:8036/xiangan-crf/websocket/2017710013' |
|
|
|
try { |
|
|
|
// const url = 'ws://127.0.0.1:8030/data' |
|
|
|
const url = process.env.VUE_APP_WS_URL |
|
|
|
const self = this |
|
|
|
this.ws = new WebSocket(url) |
|
|
|
this.ws.onopen = function() { |
|
|
|