fix: badge inheritAttrs

pull/4134/head
tanjinzhou 2021-05-25 17:31:38 +08:00
parent e442b0d1ec
commit a01be5cce4
1 changed files with 1 additions and 0 deletions

View File

@ -36,6 +36,7 @@ export type BadgeProps = Partial<ExtractPropTypes<typeof badgeProps>>;
export default defineComponent({
name: 'ABadge',
Ribbon,
inheritAttrs: false,
props: badgeProps,
slots: ['text', 'count'],
setup(props, { slots, attrs }) {