File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,8 @@ export default {
54
54
| Attribute | Level | Description | Type | Default |
55
55
| -------- | -------- | -------- | -------- | -------- |
56
56
| data | basic | json data | JSON object | - |
57
- | deep | basic | data depth, data larger than this depth will not be expanded | number | Infinity |
57
+ | deep | basic | data depth, data larger than this depth will not be expanded | number | Infinity |
58
+ | showLength | basic | whether to show the length when closed | boolean | false |
58
59
| path | advanced | root data path | string | root |
59
60
| pathChecked | advanced | defines the selected data path | array | [ ] |
60
61
| pathSelectable | advanced | defines whether a data path supports selection | Function(itemPath, itemData) | - |
Original file line number Diff line number Diff line change @@ -55,6 +55,7 @@ export default {
55
55
| -------- | -------- | -------- | -------- | -------- |
56
56
| data | 基础 | 待美化的源数据,注意不是 ` JSON ` 字符串 | ` JSON ` 对象 | - |
57
57
| deep | 基础 | 数据深度, 大于该深度的数据将不被展开 | number | Infinity |
58
+ | showLength | 基础 | 是否在数据线闭合的时候展示长度 | boolean | false |
58
59
| path | 高级 | 定义最顶层数据层级 | string | root |
59
60
| pathChecked | 高级 | 定义哪些数据层级是已被选中的 | array | [ ] |
60
61
| pathSelectable | 高级 | 定义哪些数据层级是可以被选中的 | Function(itemPath, itemData) | - |
You can’t perform that action at this time.
0 commit comments