From 6f4c2eb77cc7b9c50da8d2cd3f2dff4d2afb1cee Mon Sep 17 00:00:00 2001 From: JEECG <445654970@qq.com> Date: Thu, 24 Apr 2025 09:25:22 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90pull/8013=E3=80=91=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=20BasicTable=20position=20=E5=B1=9E=E6=80=A7=E7=B1=BB=E5=9E=8B?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=20---?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/Table/src/types/pagination.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/jeecgboot-vue3/src/components/Table/src/types/pagination.ts b/jeecgboot-vue3/src/components/Table/src/types/pagination.ts index fd2ecbe31..6bc559959 100644 --- a/jeecgboot-vue3/src/components/Table/src/types/pagination.ts +++ b/jeecgboot-vue3/src/components/Table/src/types/pagination.ts @@ -7,6 +7,8 @@ interface PaginationRenderProps { originalElement: any; } +type Position = 'topLeft' | 'topCenter' | 'topRight' | 'bottomLeft' | 'bottomCenter' | 'bottomRight'; + export declare class PaginationConfig extends Pagination { position?: 'top' | 'bottom' | 'both'; } @@ -96,4 +98,11 @@ export interface PaginationProps { * @type Function */ itemRender?: (props: PaginationRenderProps) => VNodeChild | JSX.Element; + // update-begin--author:liaozhiyang---date:20250423---for:【pull/8013】修复 BasicTable position 属性类型配置 + /** + * specify the position of Pagination + * @type Position[] + */ + position?: Position[]; + // update-end--author:liaozhiyang---date:20250423---for:【pull/8013】修复 BasicTable position 属性类型配置 }