fix(tree): document

This commit is contained in:
就眠仪式
2021-11-07 21:34:34 +08:00
parent c66657ba37
commit 9e4f2918d5
3 changed files with 10 additions and 6 deletions

View File

@@ -254,7 +254,7 @@ export default {
| zIndex | 自定义层级 | -- |
| type | 类型 | `1: component` `2: iframe` |
| closeBtn | 显示关闭 | true |
| btn | 按钮 | |
| btn | 按钮 | |
| btnAlign | 按钮布局 | `l` `r` `c` |
:::
:::

View File

@@ -234,12 +234,12 @@ function handleClick(node) {
::: table
| Name | Description | Accepted Values |
| -------- | -------------- | --------------- | --- |
| -------- | -------------- | --------------- |
| id | 唯一值 | - |
| title | 节点名称 | - |
| children | 子节点 | [] |
| disabled | 该节点是否禁用 | false |
| spread | 该节点是否展开 | false | - |
| spread | 该节点是否展开 | false |
:::