Skip to content

Commit a01be5c

Browse files
committed
fix: badge inheritAttrs
1 parent e442b0d commit a01be5c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

components/badge/Badge.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ export type BadgeProps = Partial<ExtractPropTypes<typeof badgeProps>>;
3636
export default defineComponent({
3737
name: 'ABadge',
3838
Ribbon,
39+
inheritAttrs: false,
3940
props: badgeProps,
4041
slots: ['text', 'count'],
4142
setup(props, { slots, attrs }) {

0 commit comments

Comments
 (0)