From bb8d20f13837ca643cccf233197f24f145dfd1e2 Mon Sep 17 00:00:00 2001 From: zenn Date: Fri, 3 Jul 2026 17:45:39 +0900 Subject: [PATCH] =?UTF-8?q?=EB=AA=A8=EB=B0=94=EC=9D=BC=20=EC=83=88?= =?UTF-8?q?=EB=A1=9C=EA=B3=A0=EC=B9=A8=20=EC=8B=9C=20=EC=A2=8C=EC=B8=A1=20?= =?UTF-8?q?=EC=82=AC=EC=9D=B4=EB=93=9C=EB=B0=94=20=EC=97=B4=EB=A6=BC?= =?UTF-8?q?=E2=86=92=EB=8B=AB=ED=9E=98=20=EC=95=A0=EB=8B=88=EB=A9=94?= =?UTF-8?q?=EC=9D=B4=EC=85=98=20=EB=AC=B8=EC=A0=9C=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - useMenuState에 menuMounted 추가, 모바일은 항상 닫힘 상태로 시작 - 좌측 사이드바 모바일 오버레이·백드롭을 마운트 이후에만 열리도록 게이팅 - 데스크톱 기본 열림·저장 설정은 그대로 유지 - v1.10.30 Co-authored-by: Cursor --- components/site/LeftSidebar.vue | 15 ++++++++++++--- composables/useMenuState.js | 22 ++++++++++++++++++---- docs/map.md | 2 +- docs/update.md | 6 ++++++ layouts/default.vue | 6 +++--- layouts/post.vue | 6 +++--- package.json | 2 +- pages/signup.vue | 2 +- 8 files changed, 45 insertions(+), 16 deletions(-) diff --git a/components/site/LeftSidebar.vue b/components/site/LeftSidebar.vue index 01d162a..8d3bec8 100644 --- a/components/site/LeftSidebar.vue +++ b/components/site/LeftSidebar.vue @@ -5,6 +5,10 @@ defineProps({ menuOpen: { type: Boolean, required: true + }, + menuMounted: { + type: Boolean, + default: false } }) @@ -229,9 +233,14 @@ onMounted(() => {