echarts出现 “TypeError: Cannot read property ‘init‘ of undefined“报错解决

导入echarts时用:import echarts from ‘echarts’ 出现 “Cannot read property ‘init’ of undefined” 报错,改成 import * as echarts from ‘echarts’ 后解决。

猜你喜欢

转载自blog.csdn.net/qq_49002903/article/details/113915657