lilei 2 лет назад
Родитель
Сommit
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()