diff --git a/designer-realize/src/main/java/com/fr/design/actions/replace/action/content/js/SearchChartJSAction.java b/designer-realize/src/main/java/com/fr/design/actions/replace/action/content/js/SearchChartJSAction.java index 822e12a4d1..1d04ac2ccf 100644 --- a/designer-realize/src/main/java/com/fr/design/actions/replace/action/content/js/SearchChartJSAction.java +++ b/designer-realize/src/main/java/com/fr/design/actions/replace/action/content/js/SearchChartJSAction.java @@ -66,11 +66,11 @@ public class SearchChartJSAction { Chart chart = chartCollection.getChart(i); if (chart != null) { ITContent chartContent = ITContent.copy(content); - chartContent.addOtherPos(chartCollection.getChart(i).getChartName()); + chartContent.addOtherPos(chart.getChartName()); //坐标轴 - searchAxisJS(jsInfos, chartContent, chartCollection.getChart(i)); + searchAxisJS(jsInfos, chartContent, chart); //组合图表-条件属性-超链特判 - dealCustomPlot(jsInfos, conditionContent, chartCollection.getChart(i)); + dealCustomPlot(jsInfos, conditionContent, chart); } } }