mirror of
https://github.com/tenrok/vue-native-websocket.git
synced 2026-06-23 18:30:35 +03:00
Fix #29 function name typos in README.md
This commit is contained in:
@@ -143,10 +143,10 @@ export default new Vuex.Store({
|
|||||||
state.message = message
|
state.message = message
|
||||||
},
|
},
|
||||||
// mutations for reconnect methods
|
// mutations for reconnect methods
|
||||||
[ws.WS_RECONNECT](state, count) {
|
SOCKET_RECONNECT(state, count) {
|
||||||
console.info(state, count)
|
console.info(state, count)
|
||||||
},
|
},
|
||||||
[ws.WS_RECONNECT_ERROR](state) {
|
SOCKET_RECONNECT_ERROR(state) {
|
||||||
state.socket.reconnectError = true;
|
state.socket.reconnectError = true;
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user