在使用react router 时,我们可以使用history.listen() 在路由变化时进行一些操作,比如dispatch action 这样的操作,那如果是需要交互提醒是否要跳转 ...
確定! 回上一頁