@wx-design/components 1.0.0-alpha.3 → 1.0.0-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/core/Table/constants.d.ts +2 -0
- package/es/core/Table/index.vue.d.ts +3 -1
- package/es/core/Table/utils/tree-helper.d.ts +1 -0
- package/es/index.mjs +5636 -5610
- package/lib/core/Table/constants.d.ts +2 -0
- package/lib/core/Table/index.vue.d.ts +3 -1
- package/lib/core/Table/utils/tree-helper.d.ts +1 -0
- package/lib/index.js +7 -7
- package/package.json +1 -1
- package/types/table/table.d.ts +6 -0
package/package.json
CHANGED
package/types/table/table.d.ts
CHANGED
|
@@ -76,6 +76,12 @@ export type SabTableProps<D = VxeTableDataRow> = VxeTableProps<D> & {
|
|
|
76
76
|
// 使所有的列都支持排序
|
|
77
77
|
enableAll?: boolean;
|
|
78
78
|
};
|
|
79
|
+
// 树形表格配置
|
|
80
|
+
treeConfig?: VxeTablePropTypes.TreeConfig<D> & {
|
|
81
|
+
// 自动将树形结构数据转成扁平结构转给 vxe-table 的 transform 处理,transform: true
|
|
82
|
+
// 需要提供 childrenField 字段
|
|
83
|
+
childTransform?: boolean
|
|
84
|
+
}
|
|
79
85
|
};
|
|
80
86
|
|
|
81
87
|
// 表格插槽
|