From e39f4b6be29eb7a0775368075ae59f88cdb9c7dd Mon Sep 17 00:00:00 2001 From: jiangping <jp@doumee.com> Date: 星期一, 17 三月 2025 18:25:49 +0800 Subject: [PATCH] 最新版本541200007 --- admin/src/router/index.js | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/admin/src/router/index.js b/admin/src/router/index.js index d522993..224a5f2 100644 --- a/admin/src/router/index.js +++ b/admin/src/router/index.js @@ -99,7 +99,7 @@ }) router.afterEach((to, from, failure) => { - setTimeout(function (){computeTableHeightIndex()},1000) + setTimeout(function () { computeTableHeightIndex() }, 1000) window.addEventListener('resize', computeTableHeightIndex()) }) function computeTableHeightIndex () { @@ -118,8 +118,8 @@ const height9 = getEleHeghtByClassName('static_wrap', 0) const height10 = getEleHeghtByClassName('query_btns', 0) const height11 = getEleHeghtByClassName('el-tabs-ele', 0) - const height12 = getEleHeghtByClassName('platgroup_tabs', 0) - router.app.$store.commit('setTableHeightNew', height - height13 - height3 - height5 - height6 - height2 - height7 - height4 - height9 - height10 - height11 - height12) + const height12 = getEleHeghtByClassName('platgroup_tabs', 0,20) + router.app.$store.commit('setTableHeightNew', height -10 - height2 - height3 - height4 - height5 - height6 - height7 - height9 - height10 - height11 - height12 - height13) console.log('gableHeightNew', router.app.$store.state.tableHeightNew) } else { console.log('tableLayout========================') -- Gitblit v1.9.3