From 663d13a67f84fb02a6b9ee44a6e8b53c32cc6044 Mon Sep 17 00:00:00 2001 From: Vben Date: Sat, 10 Apr 2021 23:57:50 +0800 Subject: [PATCH] fix: fix case errors --- src/hooks/web/{useEcharts/index.ts => useECharts.ts} | 2 +- src/{hooks/web/useEcharts => utils/lib}/echarts.ts | 0 src/views/dashboard/analysis/components/SalesProductPie.vue | 2 +- src/views/dashboard/analysis/components/VisitAnalysis.vue | 2 +- src/views/dashboard/analysis/components/VisitAnalysisBar.vue | 2 +- src/views/dashboard/analysis/components/VisitRadar.vue | 2 +- src/views/dashboard/analysis/components/VisitSource.vue | 2 +- src/views/dashboard/workbench/components/SaleRadar.vue | 2 +- src/views/demo/charts/Line.vue | 2 +- src/views/demo/charts/Map.vue | 2 +- src/views/demo/charts/Pie.vue | 2 +- src/views/demo/charts/SaleRadar.vue | 2 +- 12 files changed, 11 insertions(+), 11 deletions(-) rename src/hooks/web/{useEcharts/index.ts => useECharts.ts} (98%) rename src/{hooks/web/useEcharts => utils/lib}/echarts.ts (100%) diff --git a/src/hooks/web/useEcharts/index.ts b/src/hooks/web/useECharts.ts similarity index 98% rename from src/hooks/web/useEcharts/index.ts rename to src/hooks/web/useECharts.ts index aad31690..4a90c37b 100644 --- a/src/hooks/web/useEcharts/index.ts +++ b/src/hooks/web/useECharts.ts @@ -8,7 +8,7 @@ import { useDebounceFn } from '@vueuse/core'; import { useEventListener } from '/@/hooks/event/useEventListener'; import { useBreakpoint } from '/@/hooks/event/useBreakpoint'; -import echarts from './echarts'; +import echarts from '/@/utils/lib/echarts'; import { useRootSetting } from '/@/hooks/setting/useRootSetting'; export function useECharts( diff --git a/src/hooks/web/useEcharts/echarts.ts b/src/utils/lib/echarts.ts similarity index 100% rename from src/hooks/web/useEcharts/echarts.ts rename to src/utils/lib/echarts.ts diff --git a/src/views/dashboard/analysis/components/SalesProductPie.vue b/src/views/dashboard/analysis/components/SalesProductPie.vue index ca3ea403..eb5ef24a 100644 --- a/src/views/dashboard/analysis/components/SalesProductPie.vue +++ b/src/views/dashboard/analysis/components/SalesProductPie.vue @@ -7,7 +7,7 @@ import { defineComponent, Ref, ref, watch } from 'vue'; import { Card } from 'ant-design-vue'; - import { useECharts } from '/@/hooks/web/useECharts/index'; + import { useECharts } from '/@/hooks/web/useECharts'; export default defineComponent({ components: { Card }, diff --git a/src/views/dashboard/analysis/components/VisitAnalysis.vue b/src/views/dashboard/analysis/components/VisitAnalysis.vue index 6581f961..8f572a10 100644 --- a/src/views/dashboard/analysis/components/VisitAnalysis.vue +++ b/src/views/dashboard/analysis/components/VisitAnalysis.vue @@ -4,7 +4,7 @@