fix: el-tree isLeaf type is string (#5954)

* fix: el-tree isLeaf type is string

* fix: update
This commit is contained in:
啝裳 2022-02-11 18:18:24 +08:00 committed by GitHub
parent 04df2a483a
commit 857a94afa8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -63,7 +63,7 @@ export declare interface TreeOptionProps {
children?: string
label?: string | ((data: TreeNodeData, node: Node) => string)
disabled?: string | ((data: TreeNodeData, node: Node) => string)
isLeaf?: boolean | ((data: TreeNodeData, node: Node) => string)
isLeaf?: string | ((data: TreeNodeData, node: Node) => boolean)
class?: (
data: TreeNodeData,
node: Node