mirror of
https://github.com/tenrok/vue-native-websocket.git
synced 2026-06-07 23:52:26 +03:00
Bind the local context to the default pass to store handler
This commit is contained in:
+1
-1
@@ -64,7 +64,7 @@ export default class {
|
||||
|
||||
passToStore (eventName, event) {
|
||||
if (this.passToStoreHandler) {
|
||||
this.passToStoreHandler(eventName, event, this.defaultPassToStore)
|
||||
this.passToStoreHandler(eventName, event, this.defaultPassToStore.bind(this))
|
||||
} else {
|
||||
this.defaultPassToStore(eventName, event)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user