zs 2 лет назад
Родитель
Сommit
7c3035587e
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      pagesMessage/message/info.vue

+ 1 - 1
pagesMessage/message/info.vue

@@ -158,7 +158,7 @@
 					}
 				}
 				let id = that.msgList.filter(i => {
-					return i.speaker != that.user._id;
+					if (i.speaker != that.user._id) return i.is_read = '0';
 				})
 				let ids = id.map(i => {
 					return i._id