- push会改变router但是不会刷新页面!
- 想要刷新页面做法可以是: history.go()!(其他方式网上有安装其他依赖去解决。)
this.props.history.push('/car')
this.props.history.go()
this.props.history.push('/car')
this.props.history.go()
本文标题:react-route4页面跳转不刷新问题
本文链接:https://www.haomeiwen.com/subject/oflnfftx.html
网友评论