📅  最后修改于: 2022-03-11 15:02:29.500000             🧑  作者: Mango
const IDs = Object.entries(formData?.Recipient).map(([k, v]) => v.map(item => item?.UserID));
this.setState({
selectedUser : IDs.flat()
})
console.log(IDs.flat())