或者直接使用 this.props;
或者将数据保存到 state,使用
componentWillReceiveProps 函数调用 this.setState 重新渲染
react 子组件渲染
猜你喜欢
转载自blog.csdn.net/weixin_37562241/article/details/104437784
今日推荐
周排行