fix(following): cannot show live-streaming card immediately

This commit is contained in:
Hakadao
2024-12-24 12:39:58 +08:00
parent 6c7ff732c1
commit 471b9c4f01

View File

@@ -49,13 +49,8 @@ const updateBaseline = ref<string>('')
const noMoreContent = ref<boolean>(false)
const { handleReachBottom, handlePageRefresh, haveScrollbar } = useBewlyApp()
watch(() => settings.value.followingTabShowLivestreamingVideos, (newValue) => {
if (newValue) {
getLiveVideoList()
}
}, { immediate: true })
onMounted(() => {
getLiveVideoList()
initData()
initPageAction()
})