📅  最后修改于: 2022-03-11 14:56:00.347000             🧑  作者: Mango
Instead of history.push, try using the Redirect component from react-router-dom instead. So instead of history.push('/blog');, try return