فهرست منبع

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