From 471b9c4f0148dcfeacce1f69cd1e70dc175ae73d Mon Sep 17 00:00:00 2001 From: Hakadao Date: Tue, 24 Dec 2024 12:39:58 +0800 Subject: [PATCH] fix(following): cannot show live-streaming card immediately --- src/contentScripts/views/Home/components/Following.vue | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/contentScripts/views/Home/components/Following.vue b/src/contentScripts/views/Home/components/Following.vue index eed8f59e..0b13e052 100644 --- a/src/contentScripts/views/Home/components/Following.vue +++ b/src/contentScripts/views/Home/components/Following.vue @@ -49,13 +49,8 @@ const updateBaseline = ref('') const noMoreContent = ref(false) const { handleReachBottom, handlePageRefresh, haveScrollbar } = useBewlyApp() -watch(() => settings.value.followingTabShowLivestreamingVideos, (newValue) => { - if (newValue) { - getLiveVideoList() - } -}, { immediate: true }) - onMounted(() => { + getLiveVideoList() initData() initPageAction() })