{...this.props}是props所提供的语法糖,可以将父组件的所有属性复制给子组件
本文标题:{...this.props}
本文链接:https://www.haomeiwen.com/subject/kgxsactx.html
网友评论