Commit 4fa2c34e by 前端

1

1 parent 9574816b
...@@ -186,7 +186,7 @@ export default { ...@@ -186,7 +186,7 @@ export default {
groupBy(list, name) { groupBy(list, name) {
const m = new Map() const m = new Map()
list.map(item => { list.map(item => {
m.set(item[name], [...(m.get(item[name]) || ''), item]) m.set(item['day']['defaultValue'], [...(m.get(item['day']['defaultValue']) || ''), item])
}) })
return [...m.values()] return [...m.values()]
}, },
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!