问题:There is a chart instance already initialized on the dom
解决方法:
step1 方法外部全局声明echarts dom对象
step2 方法内判断dom对象是否存在
step3 方法内正常初始化echarts对象
ref:解决echarts报There is a chart instance already initialized on the dom.错误 - 灰信网(软件开发博客聚合)
问题:There is a chart instance already initialized on the dom
解决方法:
step1 方法外部全局声明echarts dom对象
step2 方法内判断dom对象是否存在
step3 方法内正常初始化echarts对象
ref:解决echarts报There is a chart instance already initialized on the dom.错误 - 灰信网(软件开发博客聚合)