From ea82f707f3ae6c1f15391a2867c6d710ffd1b788 Mon Sep 17 00:00:00 2001 From: wangyufei <2267742828@qq.com> Date: Wed, 10 Jul 2024 08:44:37 +0800 Subject: [PATCH] =?UTF-8?q?UI=E5=B8=83=E5=B1=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/directives/permission/clientTable.ts | 2 +- src/layout/components/useRenderLayout.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 = () => {