Browse Source

REPORT-61054 【主题获取】有主题xml的组件和组件包的预览图提示缺失文字

【问题原因】
共享组件预览弹窗中主题名称前添加前缀文本

【改动思路】
同上
bugfix/11.0
Starryi 3 years ago
parent
commit
0dbd17e431
  1. 2
      designer-form/src/main/java/com/fr/design/mainframe/share/ui/online/OnlineWidgetPopupPreviewPane.java

2
designer-form/src/main/java/com/fr/design/mainframe/share/ui/online/OnlineWidgetPopupPreviewPane.java

@ -162,7 +162,7 @@ public class OnlineWidgetPopupPreviewPane extends AbstractWidgetPopupPreviewPane
String themeName = widget.getThemeName();
if (StringUtils.isNotEmpty(themeName)) {
suitableThemeNamePane.setVisible(true);
suitableThemeNameLabel.setText(themeName);
suitableThemeNameLabel.setText(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Share_Suitable_Theme_Prefix") + themeName);
} else {
suitableThemeNamePane.setVisible(false);
}

Loading…
Cancel
Save