js 对list代码进行分组
const groupedList = state.reportList
.reduce((acc, item) => {
const cl = item.Class;
acc[cl] = acc[cl] || [];
acc[cl].push(item);
return acc;
}, {}
)