mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2025-04-06 14:30:46 +08:00
docs(tree): update docs (#2021)
Co-authored-by: yugang.cao <yugang.cao@tusimple.ai>
This commit is contained in:
parent
d82ad89dfe
commit
d671a45db8
@ -45,7 +45,7 @@ check-strategy-debug
|
||||
| expand-on-dragenter | `boolean` | `true` | 是否在拖入后展开节点 |
|
||||
| expanded-keys | `Array<string \| number>` | `undefined` | 如果设定则展开受控 |
|
||||
| filter | `(pattern: string, node: TreeOption) => boolean` | 一个简单的字符串过滤算法 | 基于 pattern 指定过滤节点的函数 |
|
||||
| indeterminate-keys | `string \| number` | `undefined` | 部分选中选项的 key |
|
||||
| indeterminate-keys | `Array<string \| number>` | `undefined` | 部分选中选项的 key |
|
||||
| key-field | `string` | `'key'` | 替代 `TreeOption` 中的 key 字段名 |
|
||||
| label-field | `string` | `'label'` | 替代 `TreeOption` 中的 label 字段名 |
|
||||
| leaf-only | `boolean` | `false` | 是否开启仅末层树节点可选 |
|
||||
|
Loading…
x
Reference in New Issue
Block a user