From f5fe7e992d6e0b10e42d96cfbb7fde13f5a39c2c Mon Sep 17 00:00:00 2001 From: clkim Date: Wed, 3 Dec 2025 16:43:44 +0900 Subject: [PATCH] =?UTF-8?q?fix.=20gnb=20menu=20=EB=8D=B0=EC=9D=B4=ED=84=B0?= =?UTF-8?q?=20=EC=97=86=EB=8A=94=20=EA=B2=BD=EC=9A=B0=20=EB=8C=80=EC=9D=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- layers/components/layouts/Header.vue | 176 ++++++++++++++------------- 1 file changed, 92 insertions(+), 84 deletions(-) diff --git a/layers/components/layouts/Header.vue b/layers/components/layouts/Header.vue index ac082a6..b7128b3 100644 --- a/layers/components/layouts/Header.vue +++ b/layers/components/layouts/Header.vue @@ -41,6 +41,9 @@ const officialItemWidths = ref([]) const overflowNam = ref(0) const gnbData = computed(() => gameData.value?.gnb) +const hasGnbMenus = computed( + () => gnbData.value?.menus && Object.keys(gnbData.value?.menus).length > 0 +) const gnb1depthButtonData = computed( () => gnbData.value?.buttons[0]?.button_json as GameDataResourceGroup ) @@ -265,89 +268,44 @@ onMounted(() => {