mirror of
https://github.com/pengzhanbo/vuepress-theme-plume.git
synced 2026-04-24 11:08:16 +08:00
fix(plugin-blog-data): 修复 page类型检查错误
This commit is contained in:
parent
e5aa059678
commit
0ca612eca4
@ -59,7 +59,7 @@ export const preparedBlogData = async (
|
||||
...extended,
|
||||
}
|
||||
|
||||
if (options.excerpt) data.excerpt = page.excerpt
|
||||
if (options.excerpt) data.excerpt = (page as any).excerpt
|
||||
|
||||
return data as BlogPostDataItem
|
||||
})
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user