Merge branch 'dev-3.2' of https://git.mesalab.cn/nezha/nezha-fronted into dev-3.2
This commit is contained in:
@@ -216,6 +216,10 @@ export default {
|
||||
tooltipEndpointChart.setOption(endpointOption);
|
||||
tooltipPrometheusChart.setOption(prometheusOption);
|
||||
}, 100); */
|
||||
},
|
||||
resize () {
|
||||
console.log(this.map);
|
||||
this.initMap()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -153,7 +153,7 @@ export default {
|
||||
})
|
||||
}
|
||||
if (this.chartInfo.type === 'diagram') {
|
||||
this.chartInfo.type = 'assetInfo'
|
||||
this.chartInfo.type = 'map'
|
||||
this.chartData = [this.chartInfo.param.topo]
|
||||
if (!this.chartInfo.param.topo || !this.chartInfo.param.topo.pens.length){
|
||||
this.chartData = []
|
||||
|
||||
Reference in New Issue
Block a user