From 374132fe7cb7bdfa7fff276b67f0c989b35a4c08 Mon Sep 17 00:00:00 2001 From: MaysWind Date: Sun, 19 Apr 2026 13:28:25 +0800 Subject: [PATCH] fix typo --- src/components/desktop/HeatMapChart.vue | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/components/desktop/HeatMapChart.vue b/src/components/desktop/HeatMapChart.vue index 4c52420c..a4ceb9cc 100644 --- a/src/components/desktop/HeatMapChart.vue +++ b/src/components/desktop/HeatMapChart.vue @@ -15,7 +15,7 @@ import { ThemeType } from '@/core/theme.ts'; import { isArray, isNumber } from '@/lib/common.ts'; -interface HeapMapData { +interface HeatMapData { allSeriesNames: string[]; data: [number, number, number][]; minValue: number; @@ -60,7 +60,7 @@ const finalClass = computed(() => { if (props.class) { finalClass += ` ${props.class}`; } else { - finalClass += ' heapmap-chart-container'; + finalClass += ' heatmap-chart-container'; } return finalClass; @@ -75,7 +75,7 @@ const finalStyle = computed>(() => { return style; }); -const heatMapData = computed(() => { +const heatMapData = computed(() => { const allData: [number, number, number][] = []; const allSeriesNames: string[] = []; let minValue: number = Number.POSITIVE_INFINITY; @@ -107,7 +107,7 @@ const heatMapData = computed(() => { } } - const ret: HeapMapData = { + const ret: HeatMapData = { allSeriesNames: allSeriesNames, data: allData, minValue: minValue === Number.POSITIVE_INFINITY ? 0 : minValue, @@ -265,14 +265,14 @@ function getDisplayValue(value: number): string {