fix: 添加群组列表到微信账号ID去重逻辑中

This commit is contained in:
超级老白兔
2025-09-05 15:14:36 +08:00
parent 25da77a3b1
commit f76029c2d9

View File

@@ -233,6 +233,13 @@ export const getUniqueWechatAccountIds = (
}
});
// 遍历联系人列表将每个wechatAccountId添加到Set中
groupList.forEach(group => {
if (group && group.wechatAccountId) {
uniqueAccountIdsSet.add(group.wechatAccountId);
}
});
// 将Set转换为数组并返回
return Array.from(uniqueAccountIdsSet);
};