@wx-design/components 1.1.12 → 1.1.14
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/index.vue.d.ts +1 -0
- package/es/index.mjs +1721 -1721
- package/es/style.css +1 -1
- package/lib/core/Table/index.vue.d.ts +1 -0
- package/lib/index.js +1 -1
- package/lib/style.css +1 -1
- package/package.json +1 -1
- package/types/table/table.d.ts +3 -1
package/package.json
CHANGED
package/types/table/table.d.ts
CHANGED
|
@@ -75,8 +75,10 @@ export type SabTableProps<D = VxeTableDataRow> = VxeTableProps<D> & {
|
|
|
75
75
|
// 树形表格配置
|
|
76
76
|
treeConfig?: VxeTablePropTypes.TreeConfig<D> & {
|
|
77
77
|
// 自动将树形结构数据转成扁平结构转给 vxe-table 的 transform 处理,transform: true
|
|
78
|
-
// 需要提供
|
|
78
|
+
// 需要提供 childrenTransformField 字段
|
|
79
79
|
childTransform?: boolean
|
|
80
|
+
// 树形结构数据扁平化字段,即 childrenField 字段,但是 childrenField 会影响更新逻辑,所以这里搞了个新的
|
|
81
|
+
childrenTransformField?: string
|
|
80
82
|
}
|
|
81
83
|
};
|
|
82
84
|
|