diff --git a/src/views/post/PostList.vue b/src/views/post/PostList.vue index af7d425a..61429a25 100644 --- a/src/views/post/PostList.vue +++ b/src/views/post/PostList.vue @@ -49,7 +49,7 @@ {{ category.name }} + >{{ category.name }} ({{ category.postCount }}) @@ -672,7 +672,7 @@ export default { }) }, loadCategories() { - categoryApi.listAll().then(response => { + categoryApi.listAll(true).then(response => { this.categories = response.data.data }) },