Dva: models 中如何获取路由参数

Created on 12 Dec 2016  ·  2Comments  ·  Source: dvajs/dva

这个图点击能看到
如图

我的路由设置是“browserHistory”,有一个详情页需要根据帖子 ID 获取数据,我怎么在models中获取这个 id

question

Most helpful comment

All 2 comments

谢谢 完美解决

Was this page helpful?
0 / 5 - 0 ratings