0
点赞
收藏
分享

微信扫一扫

好客租房73-4传递props


问题:props丢失

原因:高阶组件没有往下传递props

解决WrappedComponent,将state和this.props一起传递给组件

举报

相关推荐

0 条评论