docs(tree): 添加属性描述

This commit is contained in:
落小梅 2021-10-14 17:52:36 +08:00
parent 5584b9886a
commit d5eb3390ba
2 changed files with 6 additions and 1 deletions

View File

@ -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

View File

@ -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