fix: resolve flash issue during transition form homepage to search page

This commit is contained in:
Hakadao
2023-09-10 13:23:57 +08:00
parent 276060cca5
commit f463a1b36a

View File

@@ -138,7 +138,6 @@ onMounted(() => {
if (isHomePage.value) {
// Force overwrite Bilibili Evolved body tag & html tag background color
document.body.style.setProperty('background-color', 'unset', 'important')
document.documentElement.style.setProperty('background-color', 'unset', 'important')
}
document.documentElement.style.setProperty('font-size', '14px')