React Router参数传递this
从Header中跳转到list传递数值。 利用在root.js中设置 中path="list/id:"。这个为定义的方法 在list中用{this.props.params.id}获取从Header路由传递过来的值 Header中使用 component