|
|
|
@ -64,7 +64,6 @@ export function useTableScroll(
|
|
|
|
|
if (!table) return
|
|
|
|
|
|
|
|
|
|
const tableEl: Element = table.$el
|
|
|
|
|
console.log(tableEl)
|
|
|
|
|
if (!tableEl) return
|
|
|
|
|
|
|
|
|
|
if (!bodyEl) {
|
|
|
|
@ -151,7 +150,6 @@ export function useTableScroll(
|
|
|
|
|
const headerCellHeight =
|
|
|
|
|
(tableEl.querySelector('.ant-table-title') as HTMLElement)?.offsetHeight ?? 0
|
|
|
|
|
|
|
|
|
|
console.log(wrapHeight - formHeight - headerCellHeight - tablePadding - paginationMargin)
|
|
|
|
|
bottomIncludeBody =
|
|
|
|
|
wrapHeight - formHeight - headerCellHeight - tablePadding - paginationMargin
|
|
|
|
|
} else {
|
|
|
|
|