mirror of
https://github.com/tenrok/vue-native-websocket.git
synced 2026-06-23 09:10:35 +03:00
typo
but online ;)
This commit is contained in:
@@ -162,14 +162,14 @@ 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) {
|
||||||
.....
|
.....
|
||||||
Vue.prototype.$socket.send(message)
|
Vue.prototype.$socket.send(message)
|
||||||
.....
|
.....
|
||||||
}
|
}
|
||||||
|
}
|
||||||
})
|
})
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user