react组件内部不能获取key

来源:互联网 发布:电信网络宽带维修电话 编辑:程序博客网 时间:2024/05/19 01:12
You can no longer access this.props.ref and this.props.key from inside the Component instance itself. So you need to use a different name for those props.

0 0
原创粉丝点击