|
@@ -84,6 +84,7 @@ export default {
|
|
|
getDegreeByDayOrMonth({ isDay: 1, year: year, month: month, day: day }).then(res => {
|
|
|
console.log(res.data)
|
|
|
this.dataInfo = res.data
|
|
|
+ this.title = []
|
|
|
this.total = res.data.reduce((pre, list, index) => {
|
|
|
pre = list.lines.map((item, i) => {
|
|
|
if (index === 0) this.title.push(item.name)
|