fix: 添加群组列表到微信账号ID去重逻辑中
This commit is contained in:
@@ -233,6 +233,13 @@ export const getUniqueWechatAccountIds = (
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// 遍历联系人列表,将每个wechatAccountId添加到Set中
|
||||||
|
groupList.forEach(group => {
|
||||||
|
if (group && group.wechatAccountId) {
|
||||||
|
uniqueAccountIdsSet.add(group.wechatAccountId);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
// 将Set转换为数组并返回
|
// 将Set转换为数组并返回
|
||||||
return Array.from(uniqueAccountIdsSet);
|
return Array.from(uniqueAccountIdsSet);
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user