From c52d0ef3377b181986625274c020da83bf70d2e0 Mon Sep 17 00:00:00 2001 From: xuliangzhan Date: Mon, 9 Dec 2024 08:00:55 +0800 Subject: [PATCH] releases 4.3.22 --- package.json | 2 +- types/components/table.d.ts | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index eaaa582..e3e09d0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "vxe-pc-ui", - "version": "4.3.21", + "version": "4.3.22", "description": "A vue based PC component library", "scripts": { "update": "npm install --legacy-peer-deps", diff --git a/types/components/table.d.ts b/types/components/table.d.ts index 917b7e9..605ecfb 100644 --- a/types/components/table.d.ts +++ b/types/components/table.d.ts @@ -2711,6 +2711,8 @@ export interface TableReactData { }, scrollVMLoading: boolean + isCustomStatus: boolean + isDragRowMove: Boolean dragRow: any isDragColMove: boolean @@ -3040,6 +3042,10 @@ export interface TableMethods
{ visibleColumn: VxeTableDefines.ColumnInfo
[] tableColumn: VxeTableDefines.ColumnInfo
[] } + /** + * 获取表格的全量列 + */ + getFullColumns(): VxeTableDefines.ColumnInfo[] /** * 获取数据,和 data 的行为一致,也可以指定索引获取数据 */ @@ -3082,6 +3088,10 @@ export interface TableMethods
{ tableData: DT[] footerData: DT[][] } + /** + * 获取表格的全量数据,如果是 tree-config 则返回带层级的树结构 + */ + getFullData(): DT[] /** * 设置指定列为固定列 * @param fieldOrColumns 列对象或字段名,支持传多个 @@ -4407,6 +4417,7 @@ export namespace VxeTableDefines { columns: VxeTableDefines.ColumnInfo[] isAllChecked: boolean isAllIndeterminate: boolean + isCustomStatus: boolean } export interface RowDragSlotParams {