diff --git a/src/directives/permission/clientTable.ts b/src/directives/permission/clientTable.ts index 7db98c0bd..b1c8b09ba 100644 --- a/src/directives/permission/clientTable.ts +++ b/src/directives/permission/clientTable.ts @@ -13,7 +13,7 @@ export function clientTable(app: App) { if(el.children&&el.children.length>1){ paginationHeight = 70 } - const height = window.innerHeight - top - paginationHeight - qustionHeight + const height = window.innerHeight - top - paginationHeight - qustionHeight +5 el.style.height = height + 'px' el.firstChild.style.height = '100%' }) diff --git a/src/layout/components/useRenderLayout.tsx b/src/layout/components/useRenderLayout.tsx index 393d2e8c6..d0d705a23 100644 --- a/src/layout/components/useRenderLayout.tsx +++ b/src/layout/components/useRenderLayout.tsx @@ -39,7 +39,7 @@ const fixedMenu = computed(() => appStore.getFixedMenu) // 搜索图片 const search = computed(() => appStore.search) const scrollBarHeight = computed(() => { - return (window.innerHeight - appStore.getCategoryMenuHeight - 85)+'px' + return (window.innerHeight - appStore.getCategoryMenuHeight - 35)+'px' }) export const useRenderLayout = () => {