From 2fcab77565a8cc5923023d2957c5299ceae59720 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=98=AD?= <81747598+lan-yonghui@users.noreply.github.com> Date: Fri, 9 Jan 2026 11:17:26 +0800 Subject: [PATCH] fix: Fix more button overflow screen issues (#11605) --- frontend/src/views/host/file-management/index.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/views/host/file-management/index.vue b/frontend/src/views/host/file-management/index.vue index 96e77a6cf..550b75025 100644 --- a/frontend/src/views/host/file-management/index.vue +++ b/frontend/src/views/host/file-management/index.vue @@ -1940,18 +1940,18 @@ const checkFFmpeg = () => { const updateHeight = () => { const el = fileTableRef.value; if (!el) return; - let tabHeight = globalStore.openMenuTabs ? 40 : 0; + let tabHeight = globalStore.openMenuTabs ? 40 : -4; const half = (el.offsetHeight + tabHeight) / 2; dropdownMaxHeight.value = Math.max(half, 300); }; onMounted(async () => { + await loadPath(); await nextTick(); watchTitleHeight(); window.addEventListener('resize', watchTitleHeight); updateHeight(); window.addEventListener('resize', updateHeight); - await loadPath(); initShowHidden(); initTabsAndPaths(); await getHostMount();