Browse Source

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

* commit 'fa0aa95d63bf1a57e19c1e91ab41a67b804f5aaf':
  REPORT-37870【共创】远程目录切换回本地,点击服务器-插件管理,页面显示异常;再打开一个模板,模板内容显示错乱
feature/big-screen
superman 4 years ago
parent
commit
d357214a33
  1. 1
      designer-base/src/main/java/com/fr/design/module/DesignModuleFactory.java
  2. 3
      designer-realize/src/main/java/com/fr/design/parameter/ParameterDefinitePane.java

1
designer-base/src/main/java/com/fr/design/module/DesignModuleFactory.java

@ -146,6 +146,7 @@ public class DesignModuleFactory {
try {
return (ParameterDesignerProvider) instance.formParaDesigner.newInstance();
} catch (Exception e) {
FineLoggerFactory.getLogger().error(e.getMessage(), e);
FineLoggerFactory.getLogger().error("error in form para designer");
}
}

3
designer-realize/src/main/java/com/fr/design/parameter/ParameterDefinitePane.java

@ -95,7 +95,8 @@ public class ParameterDefinitePane extends JPanel implements ToolBarMenuDockPlus
setComponentBg(this);
paraDesignEditor = DesignModuleFactory.getFormParaDesigner();
if (paraDesignEditor == null) {
return;
// 为空时 设置默认值
paraDesignEditor = new FormParaDesigner();
}
paraDesignEditor.initWidgetToolbarPane();

Loading…
Cancel
Save