We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb7e0df commit 6b3b0e1Copy full SHA for 6b3b0e1
src/components/app/t-gameNav.vue
@@ -38,7 +38,9 @@ const actId = ref<string>();
38
39
const hasNav = computed<TGApp.BBS.Navigator.Navigator | undefined>(() => {
40
const liveNames = ["前瞻直播", "前瞻节目", "直播兑换码"];
41
- return nav.value.find((item) => liveNames.includes(item.name));
+ const find = nav.value.find((item) => liveNames.includes(item.name));
42
+ if (find) return find;
43
+ return nav.value.find((item) => item.name.includes("前瞻"));
44
});
45
46
onMounted(async () => await loadNav());
0 commit comments