// import echarts from "echarts"; //不正确 import * as echarts from 'echarts' Vue.prototype.$echarts = echarts;
this.$echarts.xxx
// import echarts from "echarts"; //不正确 import * as echarts from 'echarts' Vue.prototype.$echarts = echarts;
this.$echarts.xxx