forked from github/dataease
Merge pull request #10820 from dataease/pr@dev-v2@refactor_typo
refactor(图表): typo
This commit is contained in:
commit
d27770b858
@ -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)
|
||||
|
@ -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 {
|
||||
|
@ -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'
|
||||
|
@ -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
|
||||
|
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user