this.setState({
checkedKeys: this.allKeys
})
<Tree
checkable
onCheck={this.onCheck}
checkedKeys={this.state.checkedKeys}
>
</Tree>
this.setState({
checkedKeys: this.allKeys
})
<Tree
checkable
onCheck={this.onCheck}
checkedKeys={this.state.checkedKeys}
>
</Tree>
本文标题:antd tree 全选
本文链接:https://www.haomeiwen.com/subject/kabsrqtx.html
网友评论