<Route path="/listrepo" component={ListRepo}/> URL 类型 http://localhost:8080/#/listrepo?name=555&id=66666 值存在this.props.location.query中
<Route path="/listrepo/:name/:id" component={ListRepo}/> url类型 http://localhost:8080/#/listrepo/555/66666 值存在this.props.params中