关于前端:echarts重绘

47次阅读

共计 213 个字符,预计需要花费 1 分钟才能阅读完成。

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;},

正文完
 0