mirror of
https://github.com/MetinSeylan/Vue-Socket.io.git
synced 2025-04-16 15:21:28 +02:00
Changed condition
This commit is contained in:
parent
848dd8bd3e
commit
6ac84d4fbd
1 changed files with 5 additions and 4 deletions
|
@ -90,11 +90,12 @@ export default class EventEmitter{
|
|||
* @param args
|
||||
*/
|
||||
dispatchStore(event, args){
|
||||
if(!this.store){
|
||||
return
|
||||
if(this.store){
|
||||
|
||||
this.dispatchModule('', this.store._modules.root, event, args)
|
||||
|
||||
}
|
||||
|
||||
this.dispatchModule('', this.store._modules.root, event, args)
|
||||
}
|
||||
|
||||
dispatchModule(path, mod, event, args){
|
||||
|
|
Loading…
Add table
Reference in a new issue