react页面传参跳转Link&hashHistory

第一种方式使用link:this <Link to={{ pathname: 'purchaseRecord', type: 'inputs', id: '1'}} ><a onClick={()=>this.handleRecord()}>拼团记录</a></Link>spa 获取传过来的值:this.props.location.type/idinput 第二种使用hashHistory:ha
相关文章
相关标签/搜索