mirror of
https://github.com/jeecgboot/JeecgBoot.git
synced 2025-12-31 20:28:14 +00:00
【issues/9217】当配置了pagination: true时,BasicTable组件自适应高度异常
This commit is contained in:
parent
23dc7b3f03
commit
e533af285c
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user