摘要: //子组件 this.props.handle(num); //父组件 handle=(num)=>{ this.setState({ num:num }) } 阅读全文
posted @ 2018-10-23 10:54 闰土的土 阅读(525) 评论(0) 推荐(0) 编辑