Browse Source

REPORT-68987 把高级编辑当作可选的

final/11.0
Henry.Wang 3 years ago
parent
commit
4505430def
  1. 6
      designer-base/src/main/java/com/fr/design/javascript/JSContentPane.java

6
designer-base/src/main/java/com/fr/design/javascript/JSContentPane.java

@ -63,7 +63,9 @@ public class JSContentPane extends BasicPane {
initFunctionTitle(args);
JPanel jsParaPane = createJSParaPane();
if (needAdvancedEditor()) {
addNewPaneLabel();
}
this.add(jsParaPane, BorderLayout.NORTH);
UIScrollPane sp = createContentTextAreaPanel();
@ -323,4 +325,8 @@ public class JSContentPane extends BasicPane {
return provider;
}
protected boolean needAdvancedEditor() {
return true;
}
}
Loading…
Cancel
Save