echarts Cannot read property ‘init‘ of undefined 报错问题
查看引入对错
Error in mounted hook: “TypeError: Cannot read property ‘init’ of undefined”
我直接 import echarts from 'echarts’时也会报错,所以后面修改了引入时的写法import * as echarts from 'echarts’
查看引入对错
Error in mounted hook: “TypeError: Cannot read property ‘init’ of undefined”
我直接 import echarts from 'echarts’时也会报错,所以后面修改了引入时的写法import * as echarts from 'echarts’