2
0
mirror of https://github.com/tenrok/vue-native-websocket.git synced 2026-06-24 10:11:59 +03:00
but online ;)
This commit is contained in:
guillaume
2018-08-31 01:31:31 +02:00
committed by GitHub
parent 156f42b45d
commit 690b6ca870
+1 -1
View File
@@ -162,7 +162,6 @@ export default new Vuex.Store({
SOCKET_RECONNECT_ERROR(state) { SOCKET_RECONNECT_ERROR(state) {
state.socket.reconnectError = true; state.socket.reconnectError = true;
}, },
}
}, },
actions: { actions: {
sendMessage: function(context, message) { sendMessage: function(context, message) {
@@ -170,6 +169,7 @@ actions: {
Vue.prototype.$socket.send(message) Vue.prototype.$socket.send(message)
..... .....
} }
}
}) })
``` ```