|
|
|
@ -332,9 +332,8 @@ export default { |
|
|
|
// this.myCharts1 = this.$echarts.init(document.getElementById('gdMaps')); |
|
|
|
// this.myCharts1 = this.$echarts.init(document.getElementById('gdMaps')); |
|
|
|
// this.$echarts.registerMap("china1", china1, {}); |
|
|
|
// this.$echarts.registerMap("china1", china1, {}); |
|
|
|
this.$echarts.registerMap("莒县", prefecture, {}); |
|
|
|
this.$echarts.registerMap("莒县", prefecture, {}); |
|
|
|
window.addEventListener("resize", function () { |
|
|
|
window.addEventListener("resize", () => { |
|
|
|
this.myChart1.resize(); |
|
|
|
this.myChart1.resize(); |
|
|
|
// this.myCharts1.resize(); |
|
|
|
|
|
|
|
}); |
|
|
|
}); |
|
|
|
var yMax = 0; |
|
|
|
var yMax = 0; |
|
|
|
for (var j = 0; j < this.mapData.length; j++) { |
|
|
|
for (var j = 0; j < this.mapData.length; j++) { |
|
|
|
|