mirror of
https://github.com/pengzhanbo/vuepress-theme-plume.git
synced 2026-04-23 10:58:13 +08:00
fix: 目录解析问题
This commit is contained in:
parent
472ee9bd0c
commit
f2924b15d2
@ -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",
|
||||
|
||||
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user