From 9a36d9d6632149208516ec6dc64cef135c8f2448 Mon Sep 17 00:00:00 2001 From: puhui999 Date: Wed, 24 Apr 2024 23:28:09 +0800 Subject: [PATCH] fix: import FunnelChart from echarts --- src/plugins/echarts/index.ts | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/src/plugins/echarts/index.ts b/src/plugins/echarts/index.ts index c7ad7a17..18d05aab 100644 --- a/src/plugins/echarts/index.ts +++ b/src/plugins/echarts/index.ts @@ -2,23 +2,24 @@ import * as echarts from 'echarts/core' import { BarChart, + FunnelChart, + GaugeChart, LineChart, - PieChart, MapChart, PictorialBarChart, - RadarChart, - GaugeChart + PieChart, + RadarChart } from 'echarts/charts' import { - TitleComponent, - TooltipComponent, - GridComponent, - PolarComponent, AriaComponent, - ParallelComponent, + GridComponent, LegendComponent, + ParallelComponent, + PolarComponent, + TitleComponent, ToolboxComponent, + TooltipComponent, VisualMapComponent } from 'echarts/components' @@ -41,7 +42,8 @@ echarts.use([ CanvasRenderer, PictorialBarChart, RadarChart, - GaugeChart + GaugeChart, + FunnelChart ]) export default echarts