From 63589d0e98fa1a0241728b6f402a8bca73014c73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=93=E7=A5=A5=E6=9F=8F?= <1760399176@qq.com> Date: Fri, 10 Feb 2023 16:18:51 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=B9=B3=E6=9D=BF=E8=AE=BE=E5=A4=87?= =?UTF-8?q?=E4=BC=98=E5=8C=96=EF=BC=8C=E7=BB=84=E4=BB=B6=E5=88=A4=E7=A9=BA?= =?UTF-8?q?=E6=B8=B2=E6=9F=93=EF=BC=8Chead=E6=A0=87=E9=A2=98=E5=8A=A8?= =?UTF-8?q?=E6=80=81=E6=B8=B2=E6=9F=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/components/ArticlesContent/End.vue | 6 +- .../SideBar/Right/Catalogue.vue | 96 +++++-------------- .../ArticlesContent/SideBar/Right/Column.vue | 11 +-- .../SideBar/Right/RelatedArticles.vue | 2 - .../ArticlesContent/SideBar/Right/index.vue | 61 ++++++++++-- frontend/components/ArticlesContent/index.vue | 7 +- frontend/pages/article/[id].vue | 28 +++++- frontend/server/api/articles/[id].ts | 1 + frontend/types/IArticle.ts | 1 + frontend/types/IArticleItem.ts | 5 + 10 files changed, 114 insertions(+), 104 deletions(-) diff --git a/frontend/components/ArticlesContent/End.vue b/frontend/components/ArticlesContent/End.vue index 2f6c1bf..b219861 100644 --- a/frontend/components/ArticlesContent/End.vue +++ b/frontend/components/ArticlesContent/End.vue @@ -4,7 +4,7 @@ defineProps({ type: Object, }, tag: { - type: Object, + type: Array, }, }) @@ -18,12 +18,12 @@ defineProps({ {{ type.alias }} -
+
标签:
diff --git a/frontend/components/ArticlesContent/SideBar/Right/Catalogue.vue b/frontend/components/ArticlesContent/SideBar/Right/Catalogue.vue index 176e4fd..9fd1175 100644 --- a/frontend/components/ArticlesContent/SideBar/Right/Catalogue.vue +++ b/frontend/components/ArticlesContent/SideBar/Right/Catalogue.vue @@ -1,53 +1,8 @@