bleeping
coder
Projects
JavaScript
TypeScript
Python
C++
C#
Go
dva如何获取全局的dispatch
Created on 14 Mar 2017
·
1
Comment
·
Source:
dvajs/dva
如题?
Source
Most helpful comment
把app设置成全局变量就可以了, app._store.dispatch
>All comments
把app设置成全局变量就可以了, app._store.dispatch
Was this page helpful?
0
/ 5 -
0
ratings
Related issues
dispatch:action should be a plain Object with type
zouyan532
·
3
Comments
如何在dva中使用redux-immutable
not3
·
3
Comments
能否升级一下路由组件,消除组件警告
yaeSakuras
·
3
Comments
model的effects里面可以用setTimeout吗
BenAnn
·
3
Comments
如何配置,可以不分割js?build 之后只有一个 index.js?
oldfeel
·
3
Comments
Most helpful comment
把app设置成全局变量就可以了, app._store.dispatch