fix(plugin-blog-data): 修复 page类型检查错误

This commit is contained in:
pengzhanbo 2023-02-07 22:06:08 +08:00
parent e5aa059678
commit 0ca612eca4

View File

@ -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
})