From d3226810216bf3ec97b2af893937583244ab37f6 Mon Sep 17 00:00:00 2001 From: panqihua Date: Wed, 18 Jan 2023 23:34:32 +0800 Subject: [PATCH] =?UTF-8?q?=E8=90=A5=E9=94=80=E7=AE=A1=E7=90=86-=E6=B4=BB?= =?UTF-8?q?=E5=8A=A8-=E8=AF=A6=E6=83=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/plugins/echarts.js | 13 ++ src/views/index.vue | 9 +- src/views/platform/manufacturer/index.vue | 1 - .../marketing_management/promotion.vue | 118 +++++++++++++++++- 4 files changed, 127 insertions(+), 14 deletions(-) create mode 100644 src/plugins/echarts.js diff --git a/src/plugins/echarts.js b/src/plugins/echarts.js new file mode 100644 index 0000000..18be75f --- /dev/null +++ b/src/plugins/echarts.js @@ -0,0 +1,13 @@ +import * as echarts from "echarts/core"; +import { GridComponent, TooltipComponent } from "echarts/components"; +import { LineChart } from "echarts/charts"; +import { UniversalTransition } from "echarts/features"; +import { CanvasRenderer } from "echarts/renderers"; +echarts.use([ + GridComponent, + TooltipComponent, + LineChart, + CanvasRenderer, + UniversalTransition, +]); +export default echarts; diff --git a/src/views/index.vue b/src/views/index.vue index d5376de..ab1329a 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -120,14 +120,7 @@ \ No newline at end of file