React - history.push not working after data fetch

后端 未结 0 402
庸人自扰
庸人自扰 2021-02-19 08:34

I have some code coming back from my database and i want to redirect in the .then - when and if there is a res , but when i put the history.push in the .then- it doesn\'t render

相关标签:
回答
  • 消灭零回复
提交回复
热议问题