react-router 4提供了<Link>组件进行跳转,但是需要在js中进行跳转,react-router 4应该用什么函数在js中进行跳转?
安装单独的history模块
this.props.history.push('/path')
1 回答1.5k 阅读
1.7k 阅读
2 回答5.1k 阅读✓ 已解决
1 回答7.2k 阅读
3.5k 阅读
2 回答3.1k 阅读
安装单独的history模块