From f2924b15d2a3b238d071f54c761b553e473960da Mon Sep 17 00:00:00 2001 From: pengzhanbo Date: Mon, 14 Mar 2022 02:14:40 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=9B=AE=E5=BD=95=E8=A7=A3=E6=9E=90?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- src/client/composables/useCategoryList.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index d0983698..712ccfe1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@pengzhanbo/vuepress-theme-plume", - "version": "1.0.0-beta.6", + "version": "1.0.0-beta.7", "description": "blog theme by vuepress2.x", "main": "lib/node/index.js", "types": "lib/node/index.d.ts", diff --git a/src/client/composables/useCategoryList.ts b/src/client/composables/useCategoryList.ts index 202c6bfa..df61fba0 100644 --- a/src/client/composables/useCategoryList.ts +++ b/src/client/composables/useCategoryList.ts @@ -43,8 +43,8 @@ usePostIndex().value.forEach((post) => { children: [], postList: [], } + children.push(current) } - children.push(current) children = current.children if (index === category.length - 1) { current.postList.push(post)