[Vue warn]: Error in mounted hook: "TypeError: Cannot read property ‘init’ of undefined"
TypeError: Cannot read property ‘init’ of undefined
解决办法:main.js中的import echarts from 'echarts’改为import * as echarts from ‘echarts’
[Vue warn]: Error in mounted hook: "TypeError: Cannot read property ‘init’ of undefined"
TypeError: Cannot read property ‘init’ of undefined
解决办法:main.js中的import echarts from 'echarts’改为import * as echarts from ‘echarts’