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

Merge branch 'feature/zl' into 'release'

add id select

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