From 871aada14faa15395ff8ea267282d980315e9fb2 Mon Sep 17 00:00:00 2001 From: jianneng-fit2cloud Date: Tue, 24 Dec 2024 17:58:41 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E5=9B=BE=E8=A1=A8):=20typos?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/chart/components/js/panel/common/common_antv.ts | 2 +- .../src/views/chart/components/js/panel/types/impl/g2plot.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/core/core-frontend/src/views/chart/components/js/panel/common/common_antv.ts b/core/core-frontend/src/views/chart/components/js/panel/common/common_antv.ts index e2d90fa386..f0d2c9742e 100644 --- a/core/core-frontend/src/views/chart/components/js/panel/common/common_antv.ts +++ b/core/core-frontend/src/views/chart/components/js/panel/common/common_antv.ts @@ -1608,7 +1608,7 @@ export function configYaxisTitleLengthLimit(chart, plot) { * @param chart * @param options */ -export function handelConditionsStyle(chart: Chart, options: O) { +export function handleConditionsStyle(chart: Chart, options: O) { const { threshold } = parseJson(chart.senior) if (!threshold.enable) return options const conditions = threshold.lineThreshold ?? [] diff --git a/core/core-frontend/src/views/chart/components/js/panel/types/impl/g2plot.ts b/core/core-frontend/src/views/chart/components/js/panel/types/impl/g2plot.ts index 1db947f6cf..3d45934537 100644 --- a/core/core-frontend/src/views/chart/components/js/panel/types/impl/g2plot.ts +++ b/core/core-frontend/src/views/chart/components/js/panel/types/impl/g2plot.ts @@ -12,7 +12,7 @@ import { getXAxis, getYAxis, getConditions, - handelConditionsStyle + handleConditionsStyle } from '@/views/chart/components/js/panel/common/common_antv' import { AntVAbstractChartView, @@ -182,7 +182,7 @@ export abstract class G2PlotChartView< } protected configBarConditions(chart: Chart, options: O) { - return handelConditionsStyle(chart, options) + return handleConditionsStyle(chart, options) } /**