var chartDom = document.getElementById("chartDom"); var option = {}; var myChart = echarts.init(chartDom); option && myChart.setOption(option); setTimeout(() => { console.log("刷新"); myChart.resize(); }, 200);
延迟刷新
标签:vue,option,100%,myChart,chartDom,var,echarts From: https://www.cnblogs.com/zhaoyun4122/p/16583700.html