会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
console!
博客园
首页
新随笔
联系
管理
订阅
2019年4月15日
react路由传参
摘要: 1.通配符传参 <Route path='/user/:name' component={User}/> <Link to="/user/通过通配符传参">通配符</Link> 页面获取:this.props.match.params.name ‘通过通配符传参’ 这方法刷新页面数据不会消失,但是只
阅读全文
posted @ 2019-04-15 14:21 薄荷+猫
阅读(374)
评论(0)
推荐(1)
编辑
公告