From 8f134d7fbeda9987b26e06bfcebb784c5fb7b1dd Mon Sep 17 00:00:00 2001 From: jiaxiang Date: Sun, 17 Nov 2024 20:07:08 +0800 Subject: [PATCH] chore: fix type error of the tree-v2 props.value docs (#18926) --- docs/en-US/component/tree-v2.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/en-US/component/tree-v2.md b/docs/en-US/component/tree-v2.md index 71435e0e94..95c2f88f1f 100644 --- a/docs/en-US/component/tree-v2.md +++ b/docs/en-US/component/tree-v2.md @@ -101,7 +101,7 @@ tree-v2/filter | Attribute | Description | Type | Default | | -------------- | ------------------------------------------------------------------------------------ | ------------------------------------------------ | -------- | -| value | unique identity key name for nodes, its value should be unique across the whole tree | string,number | id | +| value | unique identity key name for nodes, its value should be unique across the whole tree | string | 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 | string | disabled |