// 父组件
import React from 'react';
import {
Button } from 'antd';
import Children from './Children/index';
class Father extends pureComponent {
constructor(props) {
super(props);
this.state = {
a: 1
React中父组件改变state,子组件props实时变化
最新推荐文章于 2023-04-20 14:47:09 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)