乐趣区

关于前端:echarts重绘

vue 大屏我的项目,全屏后 echarts 重绘

mounted() {
    var that = this
    window.onresize=() => {that.myChartA.resize()
        that.myChartB.resize()
        that.myChartC.resize()
        that.myChartD.resize()
        that.myChartE.resize()}
},
destroyed() {window.onresize = null;},
退出移动版