changed a lot regarding rec state, etc.

This commit is contained in:
Tobias Kurze
2019-12-03 16:05:15 +01:00
parent 39e7bbd098
commit 6b7b9f8f09
13 changed files with 3758 additions and 3757 deletions

View File

@@ -44,7 +44,7 @@
// Vue.$moment.locale(locale);
},
sendWsMessage(msg) {
console.log("sending msg: " + msg);
this.$log.debug('sending msg: ' + msg);
this.$socket.client.emit('my_event', msg);
},
connectWebsocket() {
@@ -62,18 +62,18 @@
},
mounted() {
this.$socket.client.on('my_response', function(msg) {
console.log(msg);
this.$log.debug(msg);
});
this.$socket.client.on('server_event', function(msg) {
console.log("get server_event:");
console.log(msg);
this.$log.debug('get server_event:');
this.$log.debug(msg);
});
this.$socket.client.on('connect', function(msg) {
console.log("We are connected!");
console.log(msg);
this.$log.debug('We are connected!');
this.$log.debug(msg);
});
//this.$socket.$unsubscribe('even_name');
// this.$socket.$unsubscribe('even_name');
},
beforeDestroy() {