update 统计图优化

This commit is contained in:
2021-04-30 11:34:10 +08:00
parent 2cdf62eeb5
commit a2589676cb
2 changed files with 186 additions and 26 deletions

View File

@@ -99,6 +99,9 @@ export default {
var chartDom = this.$refs.chart;
var myChart = echarts.init(chartDom);
myChart.setOption(this.options);
window.addEventListener("resize",function(){
myChart.resize();
})
},
};
</script>