Browse Source

REPORT-94597 安装【平台内打开标签页】插件,FR图表超链会多两个重复下拉项

newui
Levy.Xie 2 years ago
parent
commit
2a406e071b
  1. 8
      designer-chart/src/main/java/com/fr/van/chart/custom/component/VanChartHyperLinkPane.java

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

@ -47,7 +47,11 @@ import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent; import java.awt.event.WindowEvent;
import java.lang.reflect.Constructor; import java.lang.reflect.Constructor;
import java.lang.reflect.InvocationTargetException; import java.lang.reflect.InvocationTargetException;
import java.util.*; import java.util.ArrayList;
import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.Map;
import java.util.Set;
/** /**
* Created by Fangjie on 2016/4/28. * Created by Fangjie on 2016/4/28.
@ -299,7 +303,7 @@ public class VanChartHyperLinkPane extends VanChartUIListControlPane {
@Override @Override
protected void initCreatorsFilter() { protected void initCreatorsFilter() {
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 (!JTemplate.isValid(template)) { if (!JTemplate.isValid(template)) {

Loading…
Cancel
Save