const { dataSource } = this.props;
如上面代码,这是什么意思?希望详细说明,为什么不能够用下面的方式取值
const { dataSource } = this.props.dataSource;
上面这种方式为什么取到的值是undefined
const { dataSource } = this.props;
如上面代码,这是什么意思?希望详细说明,为什么不能够用下面的方式取值
const { dataSource } = this.props.dataSource;
上面这种方式为什么取到的值是undefined