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) } /**