提交 b6190d5e 编写于 作者: 张磊's avatar 张磊

Merge branch 'feature/zl' into 'release'

add id select

See merge request !227
......@@ -614,7 +614,12 @@
const that = this;
this.timerOfStatus = setInterval(function () {
getOnlineStatus(roomId).then((res) => {
const l = res.data;
if (!res.data) {
return false;
}
const l = res.data.map((i) => {
return i.userId;
});
console.log('res==', res, that.memberList);
if (
l &&
......@@ -623,7 +628,7 @@
that.memberList.length > 0
) {
that.memberList.map((i) => {
if (l.includes[i]) {
if (l.includes[i.id]) {
// 在线 更新状态
that.addNewMember(i.liveUserId);
} else {
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册