Fix bug and refactor
This commit is contained in:
@ -77,8 +77,7 @@ export default Vue.extend({
|
||||
mounted() {
|
||||
this.connection.on('stats', this.onStats);
|
||||
this.connection.on('statsLog', this.onStatsLog);
|
||||
this.connection.send({
|
||||
type: 'requestLog',
|
||||
this.connection.send('requestLog', {
|
||||
id: Math.random().toString(),
|
||||
length: 200
|
||||
});
|
||||
|
Reference in New Issue
Block a user