소스 검색

bug 修复

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

+ 1 - 1
src/layouts/BasicLayout.vue

@@ -229,7 +229,7 @@ export default {
     wsMessage (a, b) {
       if (a !== b && a) {
         // 新未读消息
-        if (a.type == 'no_read_count' && this.nowRoute.indexOf('notice') < 0) {
+        if (a.type == 'new_remind' && this.nowRoute.indexOf('notice') < 0) {
           this.getNotes()
           // 播放音效
           this.playAudio()