From c67dbe946a1a26144529c6ee56bbe93b2ee580f1 Mon Sep 17 00:00:00 2001 From: hejianhao <15708179461@qq.com> Date: 星期一, 24 三月 2025 15:26:23 +0800 Subject: [PATCH] Merge branch 'master' of http://120.76.84.145:10101/gitblit/r/H5/chongzhou-screen --- src/main.js | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/src/main.js b/src/main.js index d8edb6b..aba1460 100644 --- a/src/main.js +++ b/src/main.js @@ -4,6 +4,14 @@ import router from './router' import store from './store' import * as echarts from 'echarts'; +import ECharts from 'vue-echarts'; +import 'echarts/lib/chart/pie'; +import 'echarts/lib/chart/bar'; +import 'echarts/lib/component/tooltip'; +import 'echarts/lib/component/title'; +import 'echarts/lib/component/legend'; +import 'echarts/lib/component/grid'; +Vue.component('v-chart', ECharts); import './assets/font/font.css' Vue.prototype.$echarts = echarts -- Gitblit v1.7.1