Browse Source

有些层级可能没配数据

research/11.0
shine 5 years ago
parent
commit
aa6c95aef5
  1. 2
      designer-chart/src/main/java/com/fr/design/chartx/data/drillMap/EachLayerDataDefinitionPane.java

2
designer-chart/src/main/java/com/fr/design/chartx/data/drillMap/EachLayerDataDefinitionPane.java

@ -87,7 +87,7 @@ public class EachLayerDataDefinitionPane extends MultiTabPane<DrillMapChartDataD
return; return;
} }
for (int i = 0, len = paneList.size(); i < len; i++) { for (int i = 0, len = Math.min(paneList.size(), eachLayerDataDefinitionList.size()); i < len; i++) {
BasicPane basicPane = paneList.get(i); BasicPane basicPane = paneList.get(i);
if (basicPane instanceof SingleDataPane) { if (basicPane instanceof SingleDataPane) {
((SingleDataPane) basicPane).populateBean(eachLayerDataDefinitionList.get(i)); ((SingleDataPane) basicPane).populateBean(eachLayerDataDefinitionList.get(i));

Loading…
Cancel
Save