mirror of
https://github.com/tenrok/vue-native-websocket.git
synced 2026-06-18 17:20:37 +03:00
Fix custom mutations feature + test
This commit is contained in:
+2
-3
@@ -95,9 +95,8 @@ export default class {
|
||||
}
|
||||
}
|
||||
if (this.mutations) {
|
||||
this.store[this.mutations[method] || method](target, msg)
|
||||
} else {
|
||||
this.store[method](target, msg)
|
||||
target = this.mutations[target] || target
|
||||
}
|
||||
this.store[method](target, msg)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user