Browse Source

Pull request #9132: REPORT-71957 组件复用-创建组件,确认后提示共享组件创建失败,且日志有报错

Merge in DESIGN/design from ~STARRYI/design:final/11.0 to final/11.0

* commit 'daa5837589f010280911d3732540c771280a343e':
  REPORT-71957 组件复用-创建组件,确认后提示共享组件创建失败,且日志有报错
new-design
starryi 3 years ago
parent
commit
098c23225e
  1. 2
      designer-realize/src/main/java/com/fr/design/share/ui/generate/ShareMainPane.java

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

@ -660,7 +660,7 @@ public class ShareMainPane extends JPanel {
Toolkit.i18nText("Fine-Design_Basic_Error"), ERROR_MESSAGE, UIManager.getIcon("OptionPane.errorIcon")); Toolkit.i18nText("Fine-Design_Basic_Error"), ERROR_MESSAGE, UIManager.getIcon("OptionPane.errorIcon"));
return false; return false;
} }
if (FileCommonUtils.isFileNameValid(name)) { if (!FileCommonUtils.isFileNameValid(name)) {
FineJOptionPane.showMessageDialog( FineJOptionPane.showMessageDialog(
shareDialog, shareDialog,
Toolkit.i18nText("Fine-Design_Share_Generate_Failure_Illegal_Component_Name_Tip"), Toolkit.i18nText("Fine-Design_Share_Generate_Failure_Illegal_Component_Name_Tip"),

Loading…
Cancel
Save