添加echarts 5.x支持
This commit is contained in:
@@ -24,7 +24,11 @@ import './assets/scss/style.scss';
|
||||
|
||||
|
||||
//引入echart
|
||||
//4.x 引用方式
|
||||
import echarts from 'echarts'
|
||||
//5.x 引用方式为按需引用
|
||||
//希望使用5.x版本的话,需要在package.json中更新版本号,并切换引用方式
|
||||
//import * as echarts from 'echarts'
|
||||
Vue.prototype.$echarts = echarts
|
||||
|
||||
Vue.config.productionTip = false;
|
||||
|
||||
Reference in New Issue
Block a user