修改提交样式
This commit is contained in:
parent
9e8a94e022
commit
8ef17169be
|
@ -70,7 +70,6 @@
|
|||
methods: {
|
||||
initWebSocket: function () {
|
||||
// WebSocket与普通的请求所用协议有所不同,ws等同于http,wss等同于https
|
||||
var userId = store.getters.userInfo.id;
|
||||
var url = window._CONFIG['domianURL'].replace("https://","ws://").replace("http://","ws://")+"/websocket/1/data_distribute";
|
||||
this.websock = new WebSocket(url);
|
||||
this.websock.onopen = this.websocketonopen;
|
||||
|
|
Loading…
Reference in New Issue
Block a user