From 5e67008511075b82d438e908098b5490cad6f5a7 Mon Sep 17 00:00:00 2001 From: clkim Date: Wed, 19 Nov 2025 16:35:51 +0900 Subject: [PATCH] =?UTF-8?q?fix.=20onMounted=EC=A0=84=20gnb=20=EB=84=98?= =?UTF-8?q?=EC=B9=98=EB=8A=94=20=EA=B2=BD=EC=9A=B0=20=EA=B0=80=EB=A1=9C?= =?UTF-8?q?=EC=8A=A4=ED=81=AC=EB=A1=A4=20=EC=83=9D=EA=B8=B0=EB=8D=98=20?= =?UTF-8?q?=ED=98=84=EC=83=81=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- layers/components/layouts/Header.vue | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/layers/components/layouts/Header.vue b/layers/components/layouts/Header.vue index b1e9e7e..3c91a56 100644 --- a/layers/components/layouts/Header.vue +++ b/layers/components/layouts/Header.vue @@ -33,6 +33,7 @@ const startRef = ref(null) const { width: startWidth } = useElementSize(startRef) +const isMounted = ref(false) const isMenuOpen = ref(false) const navWidth = ref(0) const officialItemWidths = ref([]) @@ -211,6 +212,7 @@ watch(width, () => { onMounted(() => { overflowNam.value = 0 + isMounted.value = true // 초기 계산 시도 nextTick(() => { @@ -250,7 +252,7 @@ onMounted(() => { /> -