diff --git a/docs/en-US/component/tree-v2.md b/docs/en-US/component/tree-v2.md index 0c492e5674..29bb161890 100644 --- a/docs/en-US/component/tree-v2.md +++ b/docs/en-US/component/tree-v2.md @@ -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 diff --git a/docs/en-US/component/tree.md b/docs/en-US/component/tree.md index 828443d20f..11695c9f43 100644 --- a/docs/en-US/component/tree.md +++ b/docs/en-US/component/tree.md @@ -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) | — | — |