mirror of
https://github.com/tenrok/vue-native-websocket.git
synced 2026-06-09 15:42:27 +03:00
fixed minor bags
This commit is contained in:
+2
-2
@@ -53,9 +53,9 @@ export default class {
|
||||
|
||||
if (this.store) { this.passToStore('SOCKET_' + eventType, event) }
|
||||
|
||||
if (this.reconnection && this.eventType === 'onopen') { this.reconnectionCount = 0 }
|
||||
if (this.reconnection && eventType === 'onopen') { this.reconnectionCount = 0 }
|
||||
|
||||
if (this.reconnection && eventType === 'onclose') { this.reconnect(event) }
|
||||
if (this.reconnection && eventType === 'onclose') { this.reconnect() }
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user