Commit 663d13a67f84fb02a6b9ee44a6e8b53c32cc6044
1 parent
7e43d88f
fix: fix case errors
Showing
12 changed files
with
11 additions
and
11 deletions
src/hooks/web/useEcharts/index.ts renamed to src/hooks/web/useECharts.ts
... | ... | @@ -8,7 +8,7 @@ import { useDebounceFn } from '@vueuse/core'; |
8 | 8 | import { useEventListener } from '/@/hooks/event/useEventListener'; |
9 | 9 | import { useBreakpoint } from '/@/hooks/event/useBreakpoint'; |
10 | 10 | |
11 | -import echarts from './echarts'; | |
11 | +import echarts from '/@/utils/lib/echarts'; | |
12 | 12 | import { useRootSetting } from '/@/hooks/setting/useRootSetting'; |
13 | 13 | |
14 | 14 | export function useECharts( | ... | ... |
src/hooks/web/useEcharts/echarts.ts renamed to src/utils/lib/echarts.ts
src/views/dashboard/analysis/components/SalesProductPie.vue
... | ... | @@ -7,7 +7,7 @@ |
7 | 7 | import { defineComponent, Ref, ref, watch } from 'vue'; |
8 | 8 | |
9 | 9 | import { Card } from 'ant-design-vue'; |
10 | - import { useECharts } from '/@/hooks/web/useECharts/index'; | |
10 | + import { useECharts } from '/@/hooks/web/useECharts'; | |
11 | 11 | |
12 | 12 | export default defineComponent({ |
13 | 13 | components: { Card }, | ... | ... |
src/views/dashboard/analysis/components/VisitAnalysis.vue
... | ... | @@ -4,7 +4,7 @@ |
4 | 4 | <script lang="ts"> |
5 | 5 | import { defineComponent, onMounted, ref, Ref } from 'vue'; |
6 | 6 | |
7 | - import { useECharts } from '/@/hooks/web/useECharts/index'; | |
7 | + import { useECharts } from '/@/hooks/web/useECharts'; | |
8 | 8 | |
9 | 9 | import { basicProps } from './props'; |
10 | 10 | export default defineComponent({ | ... | ... |
src/views/dashboard/analysis/components/VisitAnalysisBar.vue
... | ... | @@ -4,7 +4,7 @@ |
4 | 4 | <script lang="ts"> |
5 | 5 | import { defineComponent, onMounted, ref, Ref } from 'vue'; |
6 | 6 | |
7 | - import { useECharts } from '/@/hooks/web/useECharts/index'; | |
7 | + import { useECharts } from '/@/hooks/web/useECharts'; | |
8 | 8 | |
9 | 9 | import { basicProps } from './props'; |
10 | 10 | export default defineComponent({ | ... | ... |
src/views/dashboard/analysis/components/VisitRadar.vue
... | ... | @@ -7,7 +7,7 @@ |
7 | 7 | import { defineComponent, Ref, ref, watch } from 'vue'; |
8 | 8 | |
9 | 9 | import { Card } from 'ant-design-vue'; |
10 | - import { useECharts } from '/@/hooks/web/useECharts/index'; | |
10 | + import { useECharts } from '/@/hooks/web/useECharts'; | |
11 | 11 | |
12 | 12 | export default defineComponent({ |
13 | 13 | components: { Card }, | ... | ... |
src/views/dashboard/analysis/components/VisitSource.vue
... | ... | @@ -7,7 +7,7 @@ |
7 | 7 | import { defineComponent, Ref, ref, watch } from 'vue'; |
8 | 8 | |
9 | 9 | import { Card } from 'ant-design-vue'; |
10 | - import { useECharts } from '/@/hooks/web/useECharts/index'; | |
10 | + import { useECharts } from '/@/hooks/web/useECharts'; | |
11 | 11 | |
12 | 12 | export default defineComponent({ |
13 | 13 | components: { Card }, | ... | ... |
src/views/dashboard/workbench/components/SaleRadar.vue
... | ... | @@ -7,7 +7,7 @@ |
7 | 7 | import { defineComponent, Ref, ref, watch } from 'vue'; |
8 | 8 | |
9 | 9 | import { Card } from 'ant-design-vue'; |
10 | - import { useECharts } from '/@/hooks/web/useECharts/index'; | |
10 | + import { useECharts } from '/@/hooks/web/useECharts'; | |
11 | 11 | |
12 | 12 | export default defineComponent({ |
13 | 13 | components: { Card }, | ... | ... |
src/views/demo/charts/Line.vue
... | ... | @@ -4,7 +4,7 @@ |
4 | 4 | <script lang="ts"> |
5 | 5 | import { defineComponent, PropType, ref, Ref, onMounted } from 'vue'; |
6 | 6 | |
7 | - import { useECharts } from '/@/hooks/web/useECharts/index'; | |
7 | + import { useECharts } from '/@/hooks/web/useECharts'; | |
8 | 8 | import { getLineData } from './data'; |
9 | 9 | |
10 | 10 | export default defineComponent({ | ... | ... |
src/views/demo/charts/Map.vue
... | ... | @@ -4,7 +4,7 @@ |
4 | 4 | <script lang="ts"> |
5 | 5 | import { defineComponent, PropType, ref, Ref, onMounted } from 'vue'; |
6 | 6 | |
7 | - import { useECharts } from '/@/hooks/web/useECharts/index'; | |
7 | + import { useECharts } from '/@/hooks/web/useECharts'; | |
8 | 8 | import { mapData } from './data'; |
9 | 9 | import { registerMap } from 'echarts'; |
10 | 10 | ... | ... |
src/views/demo/charts/Pie.vue
... | ... | @@ -4,7 +4,7 @@ |
4 | 4 | <script lang="ts"> |
5 | 5 | import { defineComponent, PropType, ref, Ref, onMounted } from 'vue'; |
6 | 6 | |
7 | - import { useECharts } from '/@/hooks/web/useECharts/index'; | |
7 | + import { useECharts } from '/@/hooks/web/useECharts'; | |
8 | 8 | |
9 | 9 | export default defineComponent({ |
10 | 10 | props: { | ... | ... |
src/views/demo/charts/SaleRadar.vue
... | ... | @@ -7,7 +7,7 @@ |
7 | 7 | import { defineComponent, Ref, ref, watch } from 'vue'; |
8 | 8 | |
9 | 9 | import { Card } from 'ant-design-vue'; |
10 | - import { useECharts } from '/@/hooks/web/useECharts/index'; | |
10 | + import { useECharts } from '/@/hooks/web/useECharts'; | |
11 | 11 | |
12 | 12 | export default defineComponent({ |
13 | 13 | components: { Card }, | ... | ... |