tenghui-ui 1.2.9 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/tenghui-ui.es.js
CHANGED
|
@@ -605,11 +605,13 @@ function countTableHeight(staticNum = 0) {
|
|
|
605
605
|
const pageCountEls = document.querySelectorAll(".ui-page__main:not(.v-leave) > div");
|
|
606
606
|
const paginationEl = document.querySelector(".ui-pagination");
|
|
607
607
|
const headerEl = document.querySelector(".ui-container__header");
|
|
608
|
-
const tabsEl = document.querySelector(".ui-
|
|
608
|
+
const tabsEl = document.querySelector(".ui-tabs");
|
|
609
|
+
const tableTab = document.querySelector(".ui-table__tab");
|
|
609
610
|
let tableHeight = staticNum;
|
|
610
611
|
tableHeight += paginationEl ? paginationEl.offsetHeight : 0;
|
|
611
612
|
tableHeight += headerEl ? headerEl.offsetHeight : 0;
|
|
612
613
|
tableHeight += tabsEl ? tabsEl.offsetHeight : 0;
|
|
614
|
+
tableHeight += tableTab ? tableTab.offsetHeight : 0;
|
|
613
615
|
let userAgent = navigator.userAgent;
|
|
614
616
|
for (let i = 0; i < pageCountEls.length; i++) {
|
|
615
617
|
let ele = pageCountEls[i];
|