2
0
mirror of https://github.com/tenrok/vue-native-websocket.git synced 2026-06-22 17:20:34 +03:00

Merge pull request #57 from justerror/master

Update README.md
This commit is contained in:
Viktor
2018-06-08 20:13:54 +03:00
committed by GitHub
+1 -1
View File
@@ -152,7 +152,7 @@ export default new Vuex.Store({
}, },
// default handler called for all methods // default handler called for all methods
SOCKET_ONMESSAGE (state, message) { SOCKET_ONMESSAGE (state, message) {
state.message = message state.socket.message = message
}, },
// mutations for reconnect methods // mutations for reconnect methods
SOCKET_RECONNECT(state, count) { SOCKET_RECONNECT(state, count) {