diff --git a/README.md b/README.md index 84864f3..d9c48f7 100755 --- a/README.md +++ b/README.md @@ -168,7 +168,7 @@ export default new Vuex.Store({ actions: { sendMessage: function(context, message) { ..... - Vue.prototype.$socket.send(message) + Vue.prototype.$socket.sendObj(message) ..... } }