Skip to content

Commit 0026117

Browse files
committed
fix: badge status error #4384
close #4384
1 parent 50503e5 commit 0026117

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/badge/Badge.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ export default defineComponent({
114114
[`${prefixCls.value}-count-sm`]: props.size === 'small',
115115
[`${prefixCls.value}-multiple-words`]:
116116
!isDotRef.value && displayCount.value && displayCount.value.toString().length > 1,
117-
[`${prefixCls.value}-status-${status}`]: !!status,
117+
[`${prefixCls.value}-status-${props.status}`]: !!props.status,
118118
[`${prefixCls.value}-status-${props.color}`]: isPresetColor(props.color),
119119
}));
120120

0 commit comments

Comments
 (0)