diff --git a/src/contentScripts/views/Home/Home.vue b/src/contentScripts/views/Home/Home.vue index bfe9cbaf..8c7b5dce 100644 --- a/src/contentScripts/views/Home/Home.vue +++ b/src/contentScripts/views/Home/Home.vue @@ -13,6 +13,7 @@ const handleBackToTop = inject('handleBackToTop') as (targetScrollTop: number) = const recommendContentKey = ref(`recommendContent${Number(new Date())}`) const activatedPage = ref(HomeSubPage.ForYou) const pages = { ForYou, Following, Trending, Ranking } +const showSearchPageMode = ref(false) const tabs = reactive([ { @@ -38,6 +39,7 @@ watch(() => activatedPage.value, () => { }) onMounted(() => { + showSearchPageMode.value = true emitter.off('pageRefresh') emitter.on('pageRefresh', async () => { recommendContentKey.value = `recommendContent${Number(new Date())}` @@ -52,57 +54,63 @@ onUnmounted(() => {