mirror of
https://github.com/MetinSeylan/Vue-Socket.io.git
synced 2025-04-16 15:21:28 +02:00
Merge pull request #161 from viniciusrebel/fix-vuex-modules
Fix Vuex modules #39
This commit is contained in:
commit
0c737b3b5e
1 changed files with 4 additions and 4 deletions
|
@ -97,9 +97,9 @@ export default class EventEmitter{
|
||||||
|
|
||||||
if(action === this.actionPrefix+event) {
|
if(action === this.actionPrefix+event) {
|
||||||
|
|
||||||
Logger.info(`Dispatching Action: ${action}, Data:`, args);
|
Logger.info(`Dispatching Action: ${key}, Data:`, args);
|
||||||
|
|
||||||
this.store.dispatch(action, args);
|
this.store.dispatch(key, args);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -113,9 +113,9 @@ export default class EventEmitter{
|
||||||
|
|
||||||
if(mutation === this.mutationPrefix+event) {
|
if(mutation === this.mutationPrefix+event) {
|
||||||
|
|
||||||
Logger.info(`Commiting Mutation: ${mutation}, Data:`, args);
|
Logger.info(`Commiting Mutation: ${key}, Data:`, args);
|
||||||
|
|
||||||
this.store.commit(mutation, args);
|
this.store.commit(key, args);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue