|
@@ -876,8 +876,9 @@ Only one node among the same level can be expanded at one time.
|
|
|
### props
|
|
|
| Attribute | Description | Type | Accepted Values | Default |
|
|
|
| --------- | ---------------------------------------- | ------ | --------------- | ------- |
|
|
|
-| label | specify which key of node object is used as the node's label | string | — | — |
|
|
|
-| children | specify which key of node object is used as the node's subtree | string | — | — |
|
|
|
+| 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, function(data, node) | — | — |
|
|
|
+| disabled | specify which node's checkbox disabled | boolean, function(data, node) | — | — |
|
|
|
|
|
|
### Method
|
|
|
`Tree` has the following method, which returns the currently selected array of nodes.
|