react监听路由变化2019-02-13 本文已影响24人 tomorrow_chenthis.props.history.listen(route => { console.log(route) })