mirror of
https://github.com/tenrok/vue-native-websocket.git
synced 2026-06-07 10:52:26 +03:00
fix wrong parameter.
This commit is contained in:
+1
-1
@@ -6,7 +6,7 @@ export default {
|
||||
install (Vue, connection, protocol = '', store, opts = {}) {
|
||||
if (!connection) { throw new Error('[vue-native-socket] cannot locate connection') }
|
||||
|
||||
let observer = new Observer(connection, store, protocol, opts)
|
||||
let observer = new Observer(connection, protocol, store, opts)
|
||||
|
||||
Vue.prototype.$socket = observer.WebSocket
|
||||
|
||||
|
||||
Reference in New Issue
Block a user