function convertList(list) {
const result = []
list.forEach(item => {
let o = result.find(r => r.month === item.month)
if (o) {
o.list.push(item)
} else {
result.push({ month: item.month, list: [item] })
}
})
return result
}
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…