父组件:
this.props.history.push({ pathname: "/PutForwardSubmit", state: { vcode } });
子组件取值:
this.props.location.state.vcode
父组件:
this.props.history.push({ pathname: "/PutForwardSubmit", state: { vcode } });
子组件取值:
this.props.location.state.vcode