Browse Source

Merge pull request #9145 in DESIGN/design from release/10.0 to bugfix/10.0

* commit '8b124ca244b86bb414bbb8097804ec4604396159':
  REPORT-71957 组件复用-创建组件,确认后提示共享组件创建失败,且日志有报错
superman 2 years ago
parent
commit
ec9fde1470
  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

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

Loading…
Cancel
Save