Skip to content

Commit bb12fb8

Browse files
cjzkagol
authored andcommitted
fix(Badge): 修改 Badge 组件 status 属性默认为 info。
1 parent 272a200 commit bb12fb8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/devui-vue/devui/badge/src/badge-types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export const badgeProps = {
2121
status: {
2222
type: String as PropType<BadgeStatusType>,
2323
validator: (val: string): boolean => badgeStatusType.includes(val),
24-
default: 'danger'
24+
default: 'info'
2525
},
2626
position: {
2727
type: String as PropType<BadgePositionType>,

0 commit comments

Comments
 (0)