zs 2 年之前
父節點
當前提交
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