美文网首页
antd tree 全选

antd tree 全选

作者: 沐风蝶青缇 | 来源:发表于2019-01-06 16:46 被阅读0次

this.setState({

                checkedKeys: this.allKeys

            })

<Tree

                checkable

                onCheck={this.onCheck}

                checkedKeys={this.state.checkedKeys}

                >

            </Tree>

相关文章

网友评论

      本文标题:antd tree 全选

      本文链接:https://www.haomeiwen.com/subject/kabsrqtx.html