react子组件点击按钮hashRouter路由跳转
关于react使用hashRouter父子组件中子组件点击按钮后路由跳转)
HashRouter基本代码
<HashRouter>
<Routers history={history}>
<Route exact path="/" component={Index}/>
<Route path=&am
原创
2019-03-06 12:33:10 ·
5229 阅读 ·
2 评论