fix. pc에서는 mobile gnb 닫히도록 수정

This commit is contained in:
clkim
2026-01-22 10:00:50 +09:00
parent a67028bab9
commit 26d4d75fcd

View File

@@ -174,6 +174,9 @@ onMounted(() => {
// 화면 크기 변경 시 오버플로우 재계산 // 화면 크기 변경 시 오버플로우 재계산
watch(width, () => { watch(width, () => {
throttledCalculateOverflow() throttledCalculateOverflow()
if (isMenuOpen.value && breakpoints.value.isDesktop) {
handleMenuClose()
}
}) })
}) })
</script> </script>