diff --git a/src/components/TopBar/components/ChannelsPop.vue b/src/components/TopBar/components/ChannelsPop.vue index bd48dbb4..1805dba6 100644 --- a/src/components/TopBar/components/ChannelsPop.vue +++ b/src/components/TopBar/components/ChannelsPop.vue @@ -4,7 +4,7 @@ import { isHomePage } from '~/utils/main' const { t } = useI18n() -const genres = [ +const genres = computed(() => [ { name: t('topbar.logo_dropdown.anime'), icon: '#channel-anime', href: 'https://www.bilibili.com/anime' }, { name: t('topbar.logo_dropdown.movies'), icon: '#channel-movie', href: 'https://www.bilibili.com/movie' }, { name: t('topbar.logo_dropdown.chinese_anime'), icon: '#channel-guochuang', href: 'https://www.bilibili.com/guochuang' }, @@ -39,7 +39,7 @@ const genres = [ { name: t('topbar.logo_dropdown.paid_courses'), icon: '#channel-zhishi', href: 'https://www.bilibili.com/cheese' }, { name: t('topbar.logo_dropdown.community'), icon: '#channel-blackroom', href: 'https://www.bilibili.com/blackboard/activity-5zJxM3spoS.html' }, { name: t('topbar.logo_dropdown.music_plus'), icon: '#channel-musicplus', href: 'https://www.bilibili.com/v/musicplus' }, -] +])