Browse Source

REPORT-67195 修改模版判断逻辑

release/11.0
Leo.Qin 2 years ago
parent
commit
1acfa589e7
  1. 2
      designer-chart/src/main/java/com/fr/van/chart/custom/component/VanChartHyperLinkPane.java

2
designer-chart/src/main/java/com/fr/van/chart/custom/component/VanChartHyperLinkPane.java

@ -306,7 +306,7 @@ public class VanChartHyperLinkPane extends VanChartUIListControlPane {
this.creatorsFilter = nameableCreator -> { this.creatorsFilter = nameableCreator -> {
Class<? extends JavaScript> clazz = nameableCreator.getHyperlink(); Class<? extends JavaScript> clazz = nameableCreator.getHyperlink();
JTemplate template = HistoryTemplateListCache.getInstance().getCurrentEditingTemplate(); JTemplate template = HistoryTemplateListCache.getInstance().getCurrentEditingTemplate();
if (template == null) { if (JTemplate.isValid(template)) {
return false; return false;
} }
Class[] classes = new Class[]{ChartHyperRelateCellLink.class, ChartHyperRelateFloatLink.class}; Class[] classes = new Class[]{ChartHyperRelateCellLink.class, ChartHyperRelateFloatLink.class};

Loading…
Cancel
Save