使用如下方法:
<Link to={{pathname:"/addBankCard",query: { access_token: "aaa",
fundCode: "bbb",from: "ccc"}}}>
<div>测试</div
</Link>
跳转到下一个h5(/addBankCard)后,这个页面接收传递过来的参数用如下方法:
var access_token = this.props.location.query.access_token;
var fundCode = this.props.location.query.fundCode;
var from = this.props.location.query.from;