2
0
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:
Viktor Shcheglov
2018-01-08 20:17:34 +03:00
parent 3551355f2b
commit a3b33dd5f3
5 changed files with 53 additions and 6 deletions
+2 -2
View File
@@ -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() }
}
})
}