我们如何this.props.history.push('/page')在React-Router v4中传递参数?
.then(response => {
var r = this;
if (response.status >= 200 && response.status < 300) {
r.props.history.push('/template');
});
Run Code Online (Sandbox Code Playgroud)