2
0
mirror of https://github.com/tenrok/vue-native-websocket.git synced 2026-06-08 04:52:26 +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
+3 -3
View File
@@ -162,14 +162,14 @@ export default new Vuex.Store({
SOCKET_RECONNECT_ERROR(state) {
state.socket.reconnectError = true;
},
}
},
actions: {
},
actions: {
sendMessage: function(context, message) {
.....
Vue.prototype.$socket.send(message)
.....
}
}
})
```