From f11e8501d0e9ebf4805ef8f09f409c68d86126ee Mon Sep 17 00:00:00 2001 From: pengzhanbo Date: Thu, 5 Mar 2026 14:41:11 +0800 Subject: [PATCH] fix(theme): fix missing attribute for `` (#864) --- theme/src/client/components/Home/VPHome.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/theme/src/client/components/Home/VPHome.vue b/theme/src/client/components/Home/VPHome.vue index a50a02ab..7380ac43 100644 --- a/theme/src/client/components/Home/VPHome.vue +++ b/theme/src/client/components/Home/VPHome.vue @@ -20,8 +20,8 @@ const slots = defineSlots<{ 'posts-post-list-pagination-after': () => any }>() -function VPHomePosts() { - return h(VPPosts, { homePosts: true }, { +function VPHomePosts(props: Record = {}) { + 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']?.(),