소스 검색

bug 修复

lilei 2 년 전
부모
커밋
e5e48710d2
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/components/NoticeIcon/NoticeIcon.vue

+ 1 - 1
src/components/NoticeIcon/NoticeIcon.vue

@@ -108,7 +108,7 @@ export default {
       if (a !== b && a) {
         console.log(a)
         // 新未读消息
-        if (a.type == 'no_read_count') {
+        if (a.type == 'no_read_count' || a.type == 'new_remind') {
           this.updateUnreadcount(a.data.no_read_count)
         }
       }