mirror of
https://github.com/MetinSeylan/Vue-Socket.io.git
synced 2025-04-16 15:21:28 +02:00
FIX: receiving staticEvents messages (#181)
* FIX: receiving staticEvents messages * return space :)
This commit is contained in:
parent
fb8e1f96c1
commit
4322054bfd
2 changed files with 5 additions and 3 deletions
6
dist/vue-socketio.js
vendored
6
dist/vue-socketio.js
vendored
File diff suppressed because one or more lines are too long
|
@ -38,7 +38,7 @@ export default class VueSocketIOListenler {
|
||||||
|
|
||||||
this.onEvent(event, args)
|
this.onEvent(event, args)
|
||||||
};
|
};
|
||||||
VueSocketIOListenler.staticEvents.forEach(event => this.io.on(event, () => this.onEvent(event)))
|
VueSocketIOListenler.staticEvents.forEach(event => this.io.on(event, args => this.onEvent(event, args)))
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Reference in a new issue