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 aad31690c..4a90c37b0 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 ca3ea403d..eb5ef24ae 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 6581f961f..8f572a106 100644 --- a/src/views/dashboard/analysis/components/VisitAnalysis.vue +++ b/src/views/dashboard/analysis/components/VisitAnalysis.vue @@ -4,7 +4,7 @@