fix(docs): fix el-tree props disabled type (#5540)

This commit is contained in:
Chen_Z 2022-01-28 16:23:29 +08:00 committed by GitHub
parent 4d690484cf
commit cf094c4e1b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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) | — | — |