在调取Echarts实例时判断是否存在,存在就销毁 if (this.launchEchart != null && this.launchEchart != "" && this.launchEchart != undefined) { this.launchEchart.dispose()//销毁 }
标签:销毁,undefined,dispose,&&,方法,Echarts,launchEchart From: https://www.cnblogs.com/zhang-DaChong/p/16738405.html