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
系统退出登录后,怎么一个语句清除store中的所有数据,以及嵌套路由刷新页面时报错。
bjwulin
·
3
Comments
不用dora怎么配开发环境
itiwll
·
4
Comments
sass 配置好,为什么不生效?
huyawei
·
3
Comments
[请教]cssmodules的global和less的&语法混用的时候要怎么写?
ufohjl
·
3
Comments
如何正确的清空某个路由下model中的数据
hanxiansen
·
3
Comments
Most helpful comment
把app设置成全局变量就可以了, app._store.dispatch