From f4df2d5a4bd23f346af10580e5ab7de64933bb4c Mon Sep 17 00:00:00 2001
From: xachary <179740385@qq.com>
Date: 星期二, 12 十二月 2023 12:04:03 +0800
Subject: [PATCH] feat: ColumnSetting and SizeSetting persist (#3398)

---
 src/components/Table/src/types/table.ts |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/src/components/Table/src/types/table.ts b/src/components/Table/src/types/table.ts
index 4ea071f..a53370a 100644
--- a/src/components/Table/src/types/table.ts
+++ b/src/components/Table/src/types/table.ts
@@ -11,6 +11,7 @@
 import { ComponentType } from './componentType';
 import { VueNode } from '@/utils/propTypes';
 import { RoleEnum } from '@/enums/roleEnum';
+import { FixedType } from 'ant-design-vue/es/vc-table/interface';
 
 export declare type SortOrder = 'ascend' | 'descend';
 
@@ -485,3 +486,14 @@
 export interface InnerHandlers {
   onColumnsChange: (data: ColumnChangeParam[]) => void;
 }
+
+export interface ColumnOptionsType {
+  value: string;
+  label: string;
+  //
+  column: {
+    defaultHidden?: boolean;
+  };
+  //
+  fixed?: FixedType;
+}

--
Gitblit v1.8.0