소스 검색

Update layoutTop.tsx

lex 1 년 전
부모
커밋
b349dd726d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/components/layout/layoutTop.tsx

+ 1 - 1
src/components/layout/layoutTop.tsx

@@ -92,7 +92,7 @@ export default defineComponent({
                 max={99}
                 class={[
                   styles.messageBadge,
-                  noReadCount.value <= 0 ? styles.messageBadgeNo : ''
+                  noReadCount.value > 0 ? '' : styles.messageBadgeNo
                 ]}
                 {...{ id: 'home-2' }}
                 color={'#FF1036'}>