刷新当前页面反应路由器 4
Refresh current page react router 4
如何刷新当前页面?
this.props.history.push('/current-page')
无效。
注意:我不想使用window.location.reload()
您可以在任何方法中调用 this.forceUpdate()
。
如何刷新当前页面?
this.props.history.push('/current-page')
无效。
注意:我不想使用window.location.reload()
您可以在任何方法中调用 this.forceUpdate()
。