antd route changes, the page has also changed, click on the back page of the original discovery, data exist. This is actually the browser cache willing, the solution is

Back when the component to uninstall, perform actions, so once again return to the original path / page, data is different

 

Guess you like

Origin www.cnblogs.com/yuanjili666/p/11959903.html