摘要: 路由可以向应用中快速的添加视图和数据流,同时保持页面与URL同步 以上获取URL参数方法: 1 id = this.props.params.id 来自父组件路径path=‘/index/message.:id' 2 baz= this.props.location.query.bar 访问路径为 阅读全文
posted @ 2016-12-04 22:13 筱qian 阅读(3208) 评论(0) 推荐(0)