|
@@ -28,7 +28,8 @@
|
|
|
},
|
|
|
created () {
|
|
|
let token = JSON.parse(sessionStorage.getItem('active_account')).token
|
|
|
- let href =location.href.substring(0,4)
|
|
|
+ let href =location.href.substring(0,5)
|
|
|
+ console.log(href,'href')
|
|
|
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)
|