2
0
mirror of https://github.com/tenrok/vue-native-websocket.git synced 2026-06-16 23:20:35 +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
@@ -143,10 +143,10 @@ export default new Vuex.Store({
state.message = message
},
// mutations for reconnect methods
[ws.WS_RECONNECT](state, count) {
SOCKET_RECONNECT(state, count) {
console.info(state, count)
},
[ws.WS_RECONNECT_ERROR](state) {
SOCKET_RECONNECT_ERROR(state) {
state.socket.reconnectError = true;
},
}