Browse Source

Merge pull request #9144 in DESIGN/design from final/10.0 to release/10.0

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