diff --git a/backend/src/extensions/documentation/documentation/1.0.0/full_documentation.json b/backend/src/extensions/documentation/documentation/1.0.0/full_documentation.json index 8fb0493..f05811b 100644 --- a/backend/src/extensions/documentation/documentation/1.0.0/full_documentation.json +++ b/backend/src/extensions/documentation/documentation/1.0.0/full_documentation.json @@ -14,7 +14,7 @@ "name": "Apache 2.0", "url": "https://www.apache.org/licenses/LICENSE-2.0.html" }, - "x-generation-date": "2023-02-06T07:22:04.571Z" + "x-generation-date": "2023-02-06T08:17:00.995Z" }, "x-strapi-config": { "path": "/documentation", diff --git a/frontend/components/ArticlesList/index.vue b/frontend/components/ArticlesList/index.vue index 097d197..ff35fc9 100644 --- a/frontend/components/ArticlesList/index.vue +++ b/frontend/components/ArticlesList/index.vue @@ -11,12 +11,12 @@ provide('artlist', artlist) provide('ads', articleAds) watch(route, async (r) => { const paths = route.path.split('/') - const queryParams = { + const params = { type: paths[1], tag: paths[2], } artlist.value = [] - artlist.value = await useFetchPostData(queryParams, route.query?.sort, pagenum = 1) + artlist.value = await useFetchPostData(params, route.query?.sort, pagenum = 1) }, { deep: true, immediate: true }) onMounted(() => { (window as any).addEventListener('scroll', addArtListItem)