From e533af285c68b205f4ee8cf059d34fbb21d222d3 Mon Sep 17 00:00:00 2001 From: JEECG <445654970@qq.com> Date: Wed, 31 Dec 2025 16:43:12 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90issues/9217=E3=80=91=E5=BD=93=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E4=BA=86pagination:=20true=E6=97=B6,BasicTable?= =?UTF-8?q?=E7=BB=84=E4=BB=B6=E8=87=AA=E9=80=82=E5=BA=94=E9=AB=98=E5=BA=A6?= =?UTF-8?q?=E5=BC=82=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/Table/src/hooks/useTableScroll.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/jeecgboot-vue3/src/components/Table/src/hooks/useTableScroll.ts b/jeecgboot-vue3/src/components/Table/src/hooks/useTableScroll.ts index 395e664ca..8d3869e81 100644 --- a/jeecgboot-vue3/src/components/Table/src/hooks/useTableScroll.ts +++ b/jeecgboot-vue3/src/components/Table/src/hooks/useTableScroll.ts @@ -106,7 +106,8 @@ export function useTableScroll( const paddingHeight = 32; // Pager height let paginationHeight = 2; - if (!isBoolean(pagination)) { + // 【issues/9217】当配置了pagination: true时,BasicTable组件自适应高度异常 + if (pagination !== false) { paginationEl = tableEl.querySelector('.ant-pagination') as HTMLElement; if (paginationEl) { const offsetHeight = paginationEl.offsetHeight;