Browse Source

REPORT-27647 模板组件的安装下载-模板组件复用插件

图片需要先加载进去。 set 的时候就晚了
research/11.0
Harrison 5 years ago
parent
commit
c24078b110
  1. 5
      designer-base/src/main/java/com/fr/design/mainframe/EastRegionContainerPane.java

5
designer-base/src/main/java/com/fr/design/mainframe/EastRegionContainerPane.java

@ -203,12 +203,9 @@ public class EastRegionContainerPane extends UIEastResizableContainer {
PropertyItem propertyItem = new PropertyItem(itemBean.getName(),
itemBean.getTitle(),
itemBean.getBtnIconName(),
itemBean.getBtnIconBaseDir(),
itemBean.getVisibleModes(),
itemBean.getEnableModes());
String btnIconBaseDir = itemBean.getBtnIconBaseDir();
if (StringUtils.isNotEmpty(btnIconBaseDir)) {
propertyItem.setIconBaseDir(btnIconBaseDir);
}
UIButton button = propertyItem.getButton();
List<ActionListener> buttonListeners = itemBean.getButtonListeners();
for (ActionListener buttonListener : buttonListeners) {

Loading…
Cancel
Save