const mapstateProps = state =>{
retrun{
...state
}
}
export default connect(mapstateProps,null,null,{withRef:true})(classname)
export default (classname) 该表model 要传递dispatch={this.props.dispatch}
指定组件的ref refs={ref=>{this.gform=ref} this.gform 调用
ref={name} this.refs.name调用