Browse Source

fix: arguments order update (#7132)

Co-authored-by: Jin Mao <50581550+jinmao88@users.noreply.github.com>
pull/7143/head
橙子 2 weeks ago
committed by GitHub
parent
commit
6e8315ab40
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 13
      packages/@core/ui-kit/shadcn-ui/src/components/render-content/render-content.vue

13
packages/@core/ui-kit/shadcn-ui/src/components/render-content/render-content.vue

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

Loading…
Cancel
Save