react-note

1、页面跳转与传值

hashHistory.push("/feature_extract_list/selected_feature/"+id);

hashHistory.push({pathname:'/feature_extract_list/selected_feature/',query:{
'id':id,
}});
hashHistory.push({pathname:'/feature_extract_list/selected_feature/',state:{
'id':id,
}});
console.log(this.props.params);
console.log(this.props.location);

 

posted @ 2017-10-17 11:36  dalyn  阅读(132)  评论(0编辑  收藏  举报