zs 2 năm trước cách đây
mục cha
commit
7c3035587e
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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