Browse Source

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

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

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