update 统计图优化
This commit is contained in:
@@ -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>
|
||||
Reference in New Issue
Block a user