diff --git a/frontend/components/ArticlesList/index.vue b/frontend/components/ArticlesList/index.vue index 08125dd..47b3b8f 100644 --- a/frontend/components/ArticlesList/index.vue +++ b/frontend/components/ArticlesList/index.vue @@ -10,7 +10,7 @@ const addArtListItem = useThrottle(async () => { }) provide('artlist', artlist) provide('ads', articleAds) -watch(route, async () => { +watch([() => route.query, () => route.params], async () => { isLoading.value = true artlist.value = await useFetchPostData(route?.params, route.query?.sort, pagenum = 1) isLoading.value = false