error message is
Warning: Can only update a mounted or mounting component. This usually means you called setState, replaceState, or forceUpdate on an unmounted component. This is a no-op.
step is:
there are two pages, an and b, which are table, of antd and render a button in column
<a key={"btn-delete"} onClick={() => {
this.setState({
b: Date.now()
})
}}></a>
if you use this.props.history.push ("/ b") to jump to b, and then use this.props.history.push ("/ a") to jump to a, click Delete at this time, you will report this error, but if you refresh the page, you will not report an error.
seek the great god