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(() => { /> -