// 根据userId 字段做去重处理
toRepeat (list) {
const ress = new Map()
return list.filter((a) => !ress.has(a.userId) && ress.set(a.userId, 1))
}
// 根据userId 字段做去重处理
toRepeat (list) {
const ress = new Map()
return list.filter((a) => !ress.has(a.userId) && ress.set(a.userId, 1))
}