引入echarts后调用报错 [Vue warn]: Error in mounted hook: "TypeError: Cannot read property 'init' of undefined"
引入方式有误
import echarts from 'echarts'
换个引入方式 let echarts = require('echarts')