导入echarts时用:import echarts from ‘echarts’ 出现 “Cannot read property ‘init’ of undefined” 报错,改成 import * as echarts from ‘echarts’ 后解决。
Echarts 初始化TypeError Cannot read properties of undefined (reading ‘init‘)
阅读 47
2022-02-21
导入echarts时用:import echarts from ‘echarts’ 出现 “Cannot read property ‘init’ of undefined” 报错,改成 import * as echarts from ‘echarts’ 后解决。
相关推荐
精彩评论(0)