mirror of
https://github.com/pengzhanbo/vuepress-theme-plume.git
synced 2026-04-23 10:58:13 +08:00
fix(theme): fix missing attribute for <VPHomePosts> (#864)
This commit is contained in:
parent
3f047914d5
commit
f11e8501d0
@ -20,8 +20,8 @@ const slots = defineSlots<{
|
||||
'posts-post-list-pagination-after': () => any
|
||||
}>()
|
||||
|
||||
function VPHomePosts() {
|
||||
return h(VPPosts, { homePosts: true }, {
|
||||
function VPHomePosts(props: Record<string, any> = {}) {
|
||||
return h(VPPosts, { homePosts: true, ...props }, {
|
||||
'posts-top': () => slots['posts-top']?.(),
|
||||
'posts-bottom': () => slots['posts-bottom']?.(),
|
||||
'posts-post-list-before': () => slots['posts-post-list-before']?.(),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user