React browserHistory.push()传参

1.
browserHistory.push({
               "pathname":'/interface_log',
               state: { itemCode: id }
      });
 
详情获取参数:this.props.location.state.参数名
 


posted @ 2019-03-07 14:04  刘丑丑鱼香肉丝  阅读(7619)  评论(0)    收藏  举报