Browse Source

REPORT-63192 【组件可更新提醒】组件复用-设计器端生成组件弹窗的类型改为必填

【问题原因】
监听下必填项设置:组件分类

【改动思路】
同上
new-design
Starryi 3 years ago
parent
commit
18d681ac36
  1. 9
      designer-realize/src/main/java/com/fr/design/share/ui/generate/ShareMainPane.java

9
designer-realize/src/main/java/com/fr/design/share/ui/generate/ShareMainPane.java

@ -409,6 +409,15 @@ public class ShareMainPane extends JPanel {
childClassify.clearBoxItems(); childClassify.clearBoxItems();
childClassify.refreshBoxItems(children); childClassify.refreshBoxItems(children);
} }
notifyRequiredSettingChanged(new ChangeEvent(parentClassify));
}
});
childClassify.addItemListener(new ItemListener() {
@Override
public void itemStateChanged(ItemEvent e) {
notifyRequiredSettingChanged(new ChangeEvent(parentClassify));
} }
}); });

Loading…
Cancel
Save