const arr=[{id:1,value:'bob'},{id:1,value:'bob'},{id:1,value:'bob'},{id:1,value:'lucy'},{id:1,value:'lucy'},{id:2,name:'lucy'},{id:2,name:'张三'}]
const newArr = arr.reduce((result, item) => {
if (!result.find(x => x.value === item.value)) {
result.push(item);
}
return result;
}, []);