Browse Source

KERNEL-9928 重构水印加载

1.适配一下面板
bugfix/11.0
Hoky 3 years ago
parent
commit
618fc17fa4
  1. 8
      designer-base/src/main/java/com/fr/design/report/WatermarkSettingPane.java

8
designer-base/src/main/java/com/fr/design/report/WatermarkSettingPane.java

@ -42,13 +42,13 @@ public class WatermarkSettingPane extends AbstractTemplateServerSettingPane {
}
public void populate(WatermarkAttr watermark) {
if (!watermark.isValid()) {
if (watermark.getWaterMarkProvider().equals("TEMPLATE")) {
chooseComboBox.setSelectedIndex(SINGLE_SET);
watermarkPane.populate(watermark);
} else {
chooseComboBox.setSelectedIndex(SERVER_SET);
populateServerSettings();
return;
}
chooseComboBox.setSelectedIndex(SINGLE_SET);
watermarkPane.populate(watermark);
}

Loading…
Cancel
Save