会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
雪莉06
博客园
首页
新随笔
联系
订阅
管理
2020年8月13日
Antd Pro学习中遇到connect中的疑惑
摘要: Connect传递Model中的数据给router 比如model中定义的login.js 定义了state数据,那么在router组件中怎么获取到这个数据呢? 通过connect可以传递过来,然后通过this.props就可以访问了,同样也会将dispatch(可以发送请求到model去),his
阅读全文
posted @ 2020-08-13 14:48 雪莉06
阅读(1183)
评论(0)
推荐(0)
编辑
公告