Echarts 初始化TypeError Cannot read properties of undefined (reading ‘init‘)

ZMXQQ233

关注

阅读 47

2022-02-21

在这里插入图片描述

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

精彩评论(0)

0 0 举报