Commit 618361c6 authored by Hagsn3's avatar Hagsn3

修改代码

parent 492ff5b6
...@@ -314,7 +314,7 @@ export default { ...@@ -314,7 +314,7 @@ export default {
console.log('数据源', this.demoData1List) console.log('数据源', this.demoData1List)
}, },
formatData(data) { formatData(data) {
// 遍历数据,提取不重复的月份作为列标签 // 遍历数据,提取不重复的月份作为列标签 111
const months = new Set() const months = new Set()
data.forEach(item => { data.forEach(item => {
Object.keys(item).forEach(key => { Object.keys(item).forEach(key => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment