From a63edd81bd28c7a6706b720def5b888541d7bd8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=9B=AE=E6=A3=83?= Date: Fri, 28 Mar 2025 13:35:12 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=B8=20=E6=94=AF=E6=8C=81=E5=85=B6?= =?UTF-8?q?=E4=BB=96=E5=88=86=E5=8C=BA=E5=85=91=E6=8D=A2=E7=A0=81=E8=8E=B7?= =?UTF-8?q?=E5=8F=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/app/t-gameNav.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/app/t-gameNav.vue b/src/components/app/t-gameNav.vue index ad09c13b..51890724 100644 --- a/src/components/app/t-gameNav.vue +++ b/src/components/app/t-gameNav.vue @@ -38,7 +38,8 @@ const showOverlay = ref(false); const actId = ref(); const hasNav = computed(() => { - return nav.value.find((item) => item.name === "前瞻直播" || item.name === "直播兑换码"); + const liveNames = ["前瞻直播", "前瞻节目", "直播兑换码"]; + return nav.value.find((item) => liveNames.includes(item.name)); }); onMounted(async () => await loadNav()); @@ -53,7 +54,6 @@ async function loadNav(): Promise { } async function tryGetCode(): Promise { - if (props.modelValue !== 2) return; if (!hasNav.value) return; const actIdFind = new URL(hasNav.value.app_path).searchParams.get("act_id"); if (!actIdFind) {