[Client] Fix bug

This commit is contained in:
syuilo 2018-11-04 03:44:06 +09:00
parent 65bfa3c0d6
commit 0b7af5c669
No known key found for this signature in database
GPG key ID: BDC4C49D06AB9D69

View file

@ -34,8 +34,8 @@ export default Vue.extend({
mounted() {
this.connection = (this as any).os.stream.useSharedConnection('apLog');
this.connection.on('stats', this.onLog);
this.connection.on('statsLog', this.onLogs);
this.connection.on('log', this.onLog);
this.connection.on('logs', this.onLogs);
this.connection.send('requestLog', {
id: Math.random().toString().substr(2, 8),
length: 50