fix: badge status error #4384

close #4384
pull/4429/head
tangjinzhou 2021-07-19 09:58:22 +08:00
parent 50503e5fc7
commit 002611752f
1 changed files with 1 additions and 1 deletions

View File

@ -114,7 +114,7 @@ export default defineComponent({
[`${prefixCls.value}-count-sm`]: props.size === 'small',
[`${prefixCls.value}-multiple-words`]:
!isDotRef.value && displayCount.value && displayCount.value.toString().length > 1,
[`${prefixCls.value}-status-${status}`]: !!status,
[`${prefixCls.value}-status-${props.status}`]: !!props.status,
[`${prefixCls.value}-status-${props.color}`]: isPresetColor(props.color),
}));