js函数内跳转路由
2018-09-04 本文已影响5人
Ysj1111
this.props.router.push({
pathname:'/follow',
//state:{name:'xxx'},
//query: {foo: 'bar'}
})
this.props.router.push({
pathname:'/follow',
//state:{name:'xxx'},
//query: {foo: 'bar'}
})