修改bug
This commit is contained in:
parent
05f10ab51d
commit
433618e71d
@ -226,8 +226,8 @@ export default {
|
||||
obj.name = i
|
||||
obj.data = dataArr
|
||||
mapLegendData.push(i)
|
||||
}
|
||||
mapArr.push(obj)
|
||||
}
|
||||
console.log(mapArr);
|
||||
// console.log(res.data[res]);
|
||||
var chartDom = this.activeName === 'day' ? document.getElementById('mapDayMain') : this.activeName === 'week' ? document.getElementById('mapWeekMain') : document.getElementById('mapMonthMain')
|
||||
@ -269,6 +269,7 @@ export default {
|
||||
},
|
||||
series: mapArr
|
||||
}
|
||||
myChart.clear()
|
||||
option && myChart.setOption(option);
|
||||
})
|
||||
this.$axios({
|
||||
@ -376,6 +377,7 @@ export default {
|
||||
}
|
||||
]
|
||||
}
|
||||
myChart.clear()
|
||||
option && myChart.setOption(option);
|
||||
})
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user