From 35f51fce2bc85de71b636dc962f088954f016032 Mon Sep 17 00:00:00 2001 From: Ryan Wang Date: Sat, 10 Sep 2022 23:35:21 +0800 Subject: [PATCH] feat: display post count under category and tag --- .../contents/posts/categories/components/CategoryListItem.vue | 4 +--- src/modules/contents/posts/tags/TagList.vue | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/modules/contents/posts/categories/components/CategoryListItem.vue b/src/modules/contents/posts/categories/components/CategoryListItem.vue index fadde901..31aa1349 100644 --- a/src/modules/contents/posts/categories/components/CategoryListItem.vue +++ b/src/modules/contents/posts/categories/components/CategoryListItem.vue @@ -88,12 +88,10 @@ function onDelete(category: CategoryTree) { -
- 20 篇文章 + {{ category.status?.posts?.length || 0 }} 篇文章