fix(top-bar): still show bewly's top bar on creative center

This commit is contained in:
Hakadao
2024-07-25 13:09:35 +08:00
parent 3cc75a8983
commit c9fb418a7d

View File

@@ -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