mirror of
https://github.com/element-plus/element-plus.git
synced 2025-02-23 11:59:34 +08:00
fix(docs): fix el-tree props disabled type (#5540)
This commit is contained in:
parent
4d690484cf
commit
cf094c4e1b
@ -93,7 +93,7 @@ tree-v2/filter
|
||||
| value | unique identity key name for nodes, its value should be unique across the whole tree | string, number | id |
|
||||
| label | specify which key of node object is used as the node's label | string | label |
|
||||
| children | specify which node object is used as the node's subtree | string | children |
|
||||
| disabled | specify which key of node object represents if node's checkbox is disabled | boolean | disabled |
|
||||
| disabled | specify which key of node object represents if node's checkbox is disabled | string | disabled |
|
||||
|
||||
## Method
|
||||
|
||||
|
@ -149,7 +149,7 @@ tree/draggable
|
||||
| --------- | ----------------------------------------------------------------------------- | ----------------------------- | --------------- | ------- |
|
||||
| label | specify which key of node object is used as the node's label | string, function(data, node) | — | — |
|
||||
| children | specify which node object is used as the node's subtree | string | — | — |
|
||||
| disabled | specify which key of node object represents if node's checkbox is disabled | boolean, function(data, node) | — | — |
|
||||
| disabled | specify which key of node object represents if node's checkbox is disabled | string, function(data, node) | — | — |
|
||||
| isLeaf | specify whether the node is a leaf node, only works when lazy load is enabled | boolean, function(data, node) | — | — |
|
||||
| class | custom node class name | string, function(data, node) | — | — |
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user