diff --git a/core/core-frontend/src/custom-component/group/Component.vue b/core/core-frontend/src/custom-component/group/Component.vue index 9ff83ce045..96310ff439 100644 --- a/core/core-frontend/src/custom-component/group/Component.vue +++ b/core/core-frontend/src/custom-component/group/Component.vue @@ -4,7 +4,7 @@ import { dvMainStoreWithOut } from '@/store/modules/data-visualization/dvMain' import { storeToRefs } from 'pinia' import CanvasGroup from '@/custom-component/common/CanvasGroup.vue' import { deepCopy } from '@/utils/utils' -import { DEFAULT_CANVAS_STYLE_DATA_DARK } from '@/views/chart/components/editor/util/dataVisualiztion' +import { DEFAULT_CANVAS_STYLE_DATA_DARK } from '@/views/chart/components/editor/util/dataVisualization' import { groupSizeStyleAdaptor } from '@/utils/style' const dvMainStore = dvMainStoreWithOut() const { canvasStyleData, curComponent } = storeToRefs(dvMainStore) diff --git a/core/core-frontend/src/store/modules/data-visualization/dvMain.ts b/core/core-frontend/src/store/modules/data-visualization/dvMain.ts index 7817b07be1..09a15183f5 100644 --- a/core/core-frontend/src/store/modules/data-visualization/dvMain.ts +++ b/core/core-frontend/src/store/modules/data-visualization/dvMain.ts @@ -11,7 +11,7 @@ import { DEFAULT_CANVAS_STYLE_DATA_DARK, DEFAULT_CANVAS_STYLE_DATA_LIGHT, DEFAULT_CANVAS_STYLE_DATA_SCREEN_DARK -} from '@/views/chart/components/editor/util/dataVisualiztion' +} from '@/views/chart/components/editor/util/dataVisualization' import { useEmitt } from '@/hooks/web/useEmitt' import chartViewManager from '@/views/chart/components/js/panel' import { diff --git a/core/core-frontend/src/store/modules/data-visualization/snapshot.ts b/core/core-frontend/src/store/modules/data-visualization/snapshot.ts index 24c2ee548c..e4d9ec3cfa 100644 --- a/core/core-frontend/src/store/modules/data-visualization/snapshot.ts +++ b/core/core-frontend/src/store/modules/data-visualization/snapshot.ts @@ -2,7 +2,7 @@ import { defineStore, storeToRefs } from 'pinia' import { store } from '../../index' import { dvMainStoreWithOut } from './dvMain' import { deepCopy } from '@/utils/utils' -import { BASE_THEMES } from '@/views/chart/components/editor/util/dataVisualiztion' +import { BASE_THEMES } from '@/views/chart/components/editor/util/dataVisualization' import eventBus from '@/utils/eventBus' import { useEmitt } from '@/hooks/web/useEmitt' import { useCache } from '@/hooks/web/useCache' diff --git a/core/core-frontend/src/views/chart/components/editor/util/dataVisualiztion.ts b/core/core-frontend/src/views/chart/components/editor/util/dataVisualization.ts similarity index 100% rename from core/core-frontend/src/views/chart/components/editor/util/dataVisualiztion.ts rename to core/core-frontend/src/views/chart/components/editor/util/dataVisualization.ts diff --git a/core/core-frontend/src/views/chart/components/js/panel/common/common_table.ts b/core/core-frontend/src/views/chart/components/js/panel/common/common_table.ts index 73f692adb7..fd3aca5f28 100644 --- a/core/core-frontend/src/views/chart/components/js/panel/common/common_table.ts +++ b/core/core-frontend/src/views/chart/components/js/panel/common/common_table.ts @@ -842,8 +842,8 @@ function getTooltipPosition(event) { return result } -export async function exportPivotExcel(instancce: PivotSheet, chart: ChartObj) { - const { meta, fields } = instancce.dataCfg +export async function exportPivotExcel(instance: PivotSheet, chart: ChartObj) { + const { meta, fields } = instance.dataCfg const rowLength = fields?.rows?.length || 0 const colLength = fields?.columns?.length || 0 const valueLength = fields?.values?.length || 0 @@ -873,7 +873,7 @@ export async function exportPivotExcel(instancce: PivotSheet, chart: ChartObj) { cell.value = metaMap[row]?.name ?? row cell.alignment = { vertical: 'middle', horizontal: 'center' } }) - const { layoutResult } = instancce.facet + const { layoutResult } = instance.facet // 行头 const { rowLeafNodes, rowsHierarchy, rowNodes } = layoutResult const maxColIndex = rowsHierarchy.maxLevel + 1 diff --git a/core/core-frontend/src/views/visualized/data/dataset/index.vue b/core/core-frontend/src/views/visualized/data/dataset/index.vue index 4afcc7134d..9b6dd8e819 100644 --- a/core/core-frontend/src/views/visualized/data/dataset/index.vue +++ b/core/core-frontend/src/views/visualized/data/dataset/index.vue @@ -32,7 +32,7 @@ import treeSort from '@/utils/treeSortUtils' import { DEFAULT_CANVAS_STYLE_DATA_LIGHT, DEFAULT_CANVAS_STYLE_DATA_SCREEN_DARK -} from '@/views/chart/components/editor/util/dataVisualiztion' +} from '@/views/chart/components/editor/util/dataVisualization' import type { TabPaneName } from 'element-plus-secondary' import { timestampFormatDate } from './form/util' import { interactiveStoreWithOut } from '@/store/modules/interactive'