React history.push doesn't render new component

前端 未结 0 1248
傲寒
傲寒 2021-02-15 16:25

What I want is to redirect to login if the request is 401 or 403.

This part is called via useEffect:

getService("building_list", getRequest, true         


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