12 lines
373 B
JavaScript
12 lines
373 B
JavaScript
import * as echarts from 'echarts'
|
|
import dataV from '@jiaminghi/data-view';
|
|
import '@/modules/dashboardBig/assets/scss/style.scss';
|
|
|
|
// 导出包含 install 方法的对象,供 Vue.use() 调用
|
|
export default {
|
|
install(Vue) {
|
|
// 原逻辑放入 install 方法中,接收 Vue 构造函数作为参数
|
|
Vue.prototype.$echarts = echarts;
|
|
Vue.use(dataV);
|
|
}
|
|
} |