From 8b3a4d37a8addd151b918cf64bce6361376dec9e Mon Sep 17 00:00:00 2001
From: vben <anncwb@126.com>
Date: 星期三, 21 十月 2020 21:44:57 +0800
Subject: [PATCH] feat: add table setting

---
 src/components/Table/src/props.ts |   17 ++++++++++++-----
 1 files changed, 12 insertions(+), 5 deletions(-)

diff --git a/src/components/Table/src/props.ts b/src/components/Table/src/props.ts
index c8a7a81..1e1efd6 100644
--- a/src/components/Table/src/props.ts
+++ b/src/components/Table/src/props.ts
@@ -1,12 +1,19 @@
-import { PropType } from 'vue';
-import { PaginationProps } from './types/pagination';
-import { BasicColumn, FetchSetting } from './types/table';
-import { TableCustomRecord, TableRowSelection } from 'ant-design-vue/types/table/table';
-import { FormProps } from '/@/components/Form/index';
+import type { PropType } from 'vue';
+import type { PaginationProps } from './types/pagination';
+import type { BasicColumn, FetchSetting, TableSetting } from './types/table';
+import type { TableCustomRecord, TableRowSelection } from 'ant-design-vue/types/table/table';
+import type { FormProps } from '/@/components/Form/index';
 import { FETCH_SETTING } from './const';
 
 // 娉ㄩ噴鐪� types/table
 export const basicProps = {
+  tableSetting: {
+    type: Object as PropType<TableSetting>,
+  },
+  showTableSetting: {
+    type: Boolean as PropType<boolean>,
+    default: false,
+  },
   autoCreateKey: {
     type: Boolean as PropType<boolean>,
     default: true,

--
Gitblit v1.8.0