使用Echarts “TypeError: Cannot read properties of undefined (reading ‘init‘)“
导入Echarts时用:import echarts from 'echarts'会出现 “Cannot read property ‘init’ of undefined” 报错,改成 import * as echarts from 'echarts' 就可以啦!!!
原创
2021-12-21 15:37:51 ·
1039 阅读 ·
0 评论