|
@@ -91,12 +91,7 @@ export default {
|
|
|
this.$cookie.set('name', data.data.name)
|
|
this.$cookie.set('name', data.data.name)
|
|
|
|
|
|
|
|
// websocket初始化
|
|
// websocket初始化
|
|
|
- // 线上地址
|
|
|
|
|
this.$store.dispatch('websocket/WEBSOCKET_INIT', `wss://${config.currentHost}/wss/web_socket/${data.data.userId}_${Math.ceil(Math.random() * 100000000)}`)
|
|
this.$store.dispatch('websocket/WEBSOCKET_INIT', `wss://${config.currentHost}/wss/web_socket/${data.data.userId}_${Math.ceil(Math.random() * 100000000)}`)
|
|
|
- // 东齐环境
|
|
|
|
|
- // this.$store.dispatch('websocket/WEBSOCKET_INIT', 'wss://192.168.2.124/wss/web_socket/' + data.data.userId + '_' + (Math.ceil(Math.random() * 100000000)).toString())
|
|
|
|
|
- // 昌柘环境
|
|
|
|
|
- // this.$store.dispatch('websocket/WEBSOCKET_INIT', 'wss://192.168.110.222/wss/web_socket/' + data.data.userId + '_' + (Math.ceil(Math.random() * 100000000)).toString())
|
|
|
|
|
}
|
|
}
|
|
|
})
|
|
})
|
|
|
}
|
|
}
|