入echarts时用:import echarts from 'echarts’ 出现 “Cannot read property ‘init’ of undefined” 报错,改成 import * as echarts from 'echarts’ 后解决。
echarts出现 “TypeError: Cannot read property ‘init‘ of undefined“报错解决
最新推荐文章于 2023-07-26 10:30:00 发布
入echarts时用:import echarts from 'echarts’ 出现 “Cannot read property ‘init’ of undefined” 报错,改成 import * as echarts from 'echarts’ 后解决。