React.js

react监听路由变化

2019-02-13  本文已影响24人  tomorrow_chen
this.props.history.listen(route => {
    console.log(route)
})
上一篇下一篇

猜你喜欢

热点阅读