摘要: 先上错误: Warning: Failed prop type: Invalid prop `children` of type `array` supplied to `Provider`, expected a single ReactElement. in Provider (at index 阅读全文
posted @ 2017-12-09 17:59 sunny_fish 阅读(872) 评论(0) 推荐(0) 编辑
摘要: 注意: 路由表改变后要重启服务 方式 一: 通过params 1.路由表中 <Route path=' /sort/:id ' component={Sort}></Route> 2.Link处 HTML方式 <Link to={ ' /sort/ ' + ' 2 ' } activeClassNa 阅读全文
posted @ 2017-12-09 17:32 sunny_fish 阅读(29365) 评论(0) 推荐(0) 编辑