docs(tree): 添加属性描述
This commit is contained in:
parent
5584b9886a
commit
d5eb3390ba
@ -217,6 +217,11 @@ function handleClick(node) {
|
||||
| Name | Description | Accepted Values |
|
||||
| -------- | ---- | ----------------------- |
|
||||
| name | 原始属性 name | -- |
|
||||
| data | 树型组件数据,类型TreeData[] | null |
|
||||
| showCheckbox | 是否显示复选框 | false |
|
||||
| onlyIconControl | 是否仅允许节点左侧图标控制展开收缩 | false |
|
||||
| showLine | 是否开启连接线 | true |
|
||||
| checkedKeys(v-model:checkedKeys) | 开启选中后选中的节点 | - |
|
||||
|
||||
|
||||
::: field tree events
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { TreeData, TreeNode } from '/@src/module/tree/tree.type'
|
||||
import { Nullable } from '/@src/module/type'
|
||||
import { Ref, WritableComputedRef } from 'vue'
|
||||
import { WritableComputedRef } from 'vue'
|
||||
|
||||
/**
|
||||
* 添加父级parentId
|
||||
|
Loading…
Reference in New Issue
Block a user