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) {