@@ -28,6 +28,8 @@
},
created () {
let token = JSON.parse(sessionStorage.getItem('active_account')).token
+ let href =location.href.substring(0,4)
+ href === 'https'?this.path = "wss://oms.idcgroup.com.cn:8079/yos/webSocket/":this.path = "ws://61.164.207.46:8000//yos/webSocket/"
this.path = this.path + token
console.log(this.path)