mirror of
https://github.com/jeecgboot/JeecgBoot.git
synced 2025-12-31 17:15:29 +08:00
【issues/9217】当配置了pagination: true时,BasicTable组件自适应高度异常
This commit is contained in:
@ -106,7 +106,8 @@ export function useTableScroll(
|
|||||||
const paddingHeight = 32;
|
const paddingHeight = 32;
|
||||||
// Pager height
|
// Pager height
|
||||||
let paginationHeight = 2;
|
let paginationHeight = 2;
|
||||||
if (!isBoolean(pagination)) {
|
// 【issues/9217】当配置了pagination: true时,BasicTable组件自适应高度异常
|
||||||
|
if (pagination !== false) {
|
||||||
paginationEl = tableEl.querySelector('.ant-pagination') as HTMLElement;
|
paginationEl = tableEl.querySelector('.ant-pagination') as HTMLElement;
|
||||||
if (paginationEl) {
|
if (paginationEl) {
|
||||||
const offsetHeight = paginationEl.offsetHeight;
|
const offsetHeight = paginationEl.offsetHeight;
|
||||||
|
|||||||
Reference in New Issue
Block a user