diff --git a/.gitignore b/.gitignore index 1aa570d..510097f 100644 --- a/.gitignore +++ b/.gitignore @@ -112,3 +112,4 @@ dist .tern-port .vercel frontend/.env +backend/src/extensions/documentation/documentation/1.0.0/full_documentation.json 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 12f1e90..3ceec47 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-01-28T14:10:48.649Z" + "x-generation-date": "2023-01-29T12:28:39.928Z" }, "x-strapi-config": { "path": "/documentation", diff --git a/frontend/components/Aside/ArticleList.vue b/frontend/components/Aside/ArticleList.vue index 0f4e8ff..2bd3286 100644 --- a/frontend/components/Aside/ArticleList.vue +++ b/frontend/components/Aside/ArticleList.vue @@ -5,8 +5,9 @@ defineProps({ required: true, }, }) -tags = ['前端'] -const { data: ArticleList } = await useFetch(`/api/articles/tags?tags=${tags}&authorId=${item.authorId}`) +const tags = ['前端'] +const authorId = '5' +const { data: ArticleList } = await useFetch(`/api/articles/tags?tags=${JSON.stringify(tags)}&authorId=${authorId}`)