Raj*_*mal 3 reactjs react-router
使用react-router从HASH URL获取URL参数的任何方法。
您应该能够通过v2.0.0 升级指南<Route>中所述访问组件中的位置this.props.location并将其传递给子组件:https ://github.com/ReactTraining/react-router/blob/v2.8.1/upgrade -guides/v2.0.0.md#accessing-location
位置文档:
https://github.com/ReactTraining/react-router/blob/v2.8.1/docs/Glossary.md#location
| 归档时间: |
|
| 查看次数: |
22998 次 |
| 最近记录: |