diff --git a/src/App.vue b/src/App.vue index fe3e137..9925641 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,33 +1,15 @@ - diff --git a/src/components/basic/InnerMenu.vue b/src/components/basic/InnerMenu.vue index 41d091d..f49c38c 100644 --- a/src/components/basic/InnerMenu.vue +++ b/src/components/basic/InnerMenu.vue @@ -7,7 +7,6 @@ @click="selectedMenu = 'home'" :class="{ 'selected-item': selectedMenu === 'home' }" > - - - + + @@ -25,15 +24,22 @@ import InnerRelatedMenuHome from "@/components/basic/InnerRelatedMenuHome.vue"; import InnerRelatedMenuMember from "@/components/basic/InnerRelatedMenuMember.vue"; export default { + props: { + selectedValue: { + type: Number, + } + }, name: "InnerMenu", components: { InnerRelatedMenuHome, InnerRelatedMenuMember, }, + data() { return { // 선택된 메뉴를 저장할 변수 selectedMenu: "home", // 기본값으로 'home'을 선택 + selectedWorkspaceId: "", }; }, }; diff --git a/src/components/basic/InnerRelatedMenuHome.vue b/src/components/basic/InnerRelatedMenuHome.vue index 3a1a376..1ddc892 100644 --- a/src/components/basic/InnerRelatedMenuHome.vue +++ b/src/components/basic/InnerRelatedMenuHome.vue @@ -1,50 +1,49 @@