fix. pc에서는 mobile gnb 닫히도록 수정
This commit is contained in:
@@ -174,6 +174,9 @@ onMounted(() => {
|
|||||||
// 화면 크기 변경 시 오버플로우 재계산
|
// 화면 크기 변경 시 오버플로우 재계산
|
||||||
watch(width, () => {
|
watch(width, () => {
|
||||||
throttledCalculateOverflow()
|
throttledCalculateOverflow()
|
||||||
|
if (isMenuOpen.value && breakpoints.value.isDesktop) {
|
||||||
|
handleMenuClose()
|
||||||
|
}
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Reference in New Issue
Block a user