From c9fb418a7d89dad7bad29bd7f8e9c06688043c0e Mon Sep 17 00:00:00 2001 From: Hakadao Date: Thu, 25 Jul 2024 13:09:35 +0800 Subject: [PATCH] fix(top-bar): still show bewly's top bar on creative center --- src/components/TopBar/TopBar.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/TopBar/TopBar.vue b/src/components/TopBar/TopBar.vue index 244555f3..646b3e0a 100644 --- a/src/components/TopBar/TopBar.vue +++ b/src/components/TopBar/TopBar.vue @@ -100,7 +100,7 @@ const isTopBarFixed = computed(() => { }) const showTopBar = computed(() => { - const isCreativeCenter = /https?:\/\/member.bilibili.com\/platform\/home.*/.test(location.href) + const isCreativeCenter = /https?:\/\/member.bilibili.com\/platform.*/.test(location.href) if (settings.value.showTopBar && !isCreativeCenter) return true return false