let hash = {}
this.list= this.list.reduce((preVal, curVal) => {
hash[curVal.stage] ? '' : hash[curVal.stage] = true && preVal.push(curVal)
return preVal
}, [])
2023-09-24 14:30:15
let hash = {}
this.list= this.list.reduce((preVal, curVal) => {
hash[curVal.stage] ? '' : hash[curVal.stage] = true && preVal.push(curVal)
return preVal
}, [])