fix: arguments order update (#7132)

Co-authored-by: Jin Mao <50581550+jinmao88@users.noreply.github.com>
pull/332/head^2
橙子 2026-01-26 16:11:37 +08:00 committed by GitHub
parent 7cb2699f19
commit 6e8315ab40
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 8 additions and 5 deletions

View File

@ -42,14 +42,17 @@ export default defineComponent({
return props.content;
}
}
return h(props.content as never, {
...attrs,
props: {
...props,
return h(
props.content as never,
{
...attrs,
props: {
...props,
...attrs,
},
},
slots,
});
);
};
},
});