From 2407b3368c3fc5128bbfced98a1d2c70fa3e02e0 Mon Sep 17 00:00:00 2001 From: vben <anncwb@126.com> Date: 星期六, 31 十月 2020 00:15:14 +0800 Subject: [PATCH] fix: some error --- src/components/Table/src/props.ts | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/components/Table/src/props.ts b/src/components/Table/src/props.ts index c78e501..96144a3 100644 --- a/src/components/Table/src/props.ts +++ b/src/components/Table/src/props.ts @@ -1,11 +1,13 @@ import type { PropType } from 'vue'; import type { PaginationProps } from './types/pagination'; -import type { BasicColumn, FetchSetting, TableSetting } from './types/table'; import type { + BasicColumn, + FetchSetting, + TableSetting, SorterResult, TableCustomRecord, TableRowSelection, -} from 'ant-design-vue/types/table/table'; +} from './types/table'; import type { FormProps } from '/@/components/Form/index'; import { DEFAULT_SORT_FN, FETCH_SETTING } from './const'; @@ -127,7 +129,7 @@ default: 0, }, rowSelection: { - type: Object as PropType<TableRowSelection<any> | null>, + type: Object as PropType<TableRowSelection | null>, default: null, }, title: { -- Gitblit v1.8.0