From ad46954b03aff1f56d5b22ad26f826a18ce2dc02 Mon Sep 17 00:00:00 2001 From: Plumbiu <99574369+Plumbiu@users.noreply.github.com> Date: Mon, 6 Feb 2023 17:03:19 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=AF=BC=E8=88=AA=E6=A0=8F=E6=A0=87?= =?UTF-8?q?=E7=AD=BE=E4=B8=8E=E6=96=87=E7=AB=A0=E5=88=97=E8=A1=A8=E4=BA=A4?= =?UTF-8?q?=E4=BA=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../documentation/documentation/1.0.0/full_documentation.json | 2 +- frontend/components/ArticlesList/index.vue | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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)