浏览代码

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'}>