Compare commits
No commits in common. "ec51beb8ead6b0a1b311e4d37d75b443f400f20e" and "05f10ab51d2abaaffa20dfa1e067d07a5bb1853a" have entirely different histories.
ec51beb8ea
...
05f10ab51d
@ -226,8 +226,8 @@ export default {
|
|||||||
obj.name = i
|
obj.name = i
|
||||||
obj.data = dataArr
|
obj.data = dataArr
|
||||||
mapLegendData.push(i)
|
mapLegendData.push(i)
|
||||||
mapArr.push(obj)
|
|
||||||
}
|
}
|
||||||
|
mapArr.push(obj)
|
||||||
console.log(mapArr);
|
console.log(mapArr);
|
||||||
// console.log(res.data[res]);
|
// console.log(res.data[res]);
|
||||||
var chartDom = this.activeName === 'day' ? document.getElementById('mapDayMain') : this.activeName === 'week' ? document.getElementById('mapWeekMain') : document.getElementById('mapMonthMain')
|
var chartDom = this.activeName === 'day' ? document.getElementById('mapDayMain') : this.activeName === 'week' ? document.getElementById('mapWeekMain') : document.getElementById('mapMonthMain')
|
||||||
@ -269,7 +269,6 @@ export default {
|
|||||||
},
|
},
|
||||||
series: mapArr
|
series: mapArr
|
||||||
}
|
}
|
||||||
myChart.clear()
|
|
||||||
option && myChart.setOption(option);
|
option && myChart.setOption(option);
|
||||||
})
|
})
|
||||||
this.$axios({
|
this.$axios({
|
||||||
@ -377,7 +376,6 @@ export default {
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
myChart.clear()
|
|
||||||
option && myChart.setOption(option);
|
option && myChart.setOption(option);
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user