摘要: React 1.动态路由传参 <Route exact path="/detail/:id" component={Detail}/> <Route exact path="/detail/:id" component={Detail}/> 接收 componentDidMount() { cons 阅读全文
posted @ 2018-12-16 21:09 爱学习的前端工程师 阅读(818) 评论(0) 推荐(0)