mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-04 12:17:37 +08:00
fix: el-tree isLeaf type is string (#5954)
* fix: el-tree isLeaf type is string * fix: update
This commit is contained in:
parent
04df2a483a
commit
857a94afa8
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user