基于react组件之间的参数传递(详解) 1、父组件向子组件传递参数 class Child extends Component { componentDidMount(){ JavaScript 2022-04-08 206 点赞 3 评论 312 浏览