2
0
mirror of https://github.com/tenrok/vue-native-websocket.git synced 2026-05-17 03:09:37 +03:00

Update README.md

I guess it was a typo, changed `send` => `sendObj` in store's action.
This commit is contained in:
Anatoly Tarnavsky
2020-05-17 20:08:34 +03:00
committed by GitHub
parent 4298712873
commit 8874a37abd
+1 -1
View File
@@ -168,7 +168,7 @@ export default new Vuex.Store({
actions: {
sendMessage: function(context, message) {
.....
Vue.prototype.$socket.send(message)
Vue.prototype.$socket.sendObj(message)
.....
}
}