Browse Source

REPORT-55481 模板Web属性的顶部和底部工具栏在权限编辑时,顶部工具栏被底部工具栏覆盖

feature/10.0
Henry.Wang 3 years ago
parent
commit
bee3075e5f
  1. 8
      designer-realize/src/main/java/com/fr/design/mainframe/AuthorityToolBarPane.java

8
designer-realize/src/main/java/com/fr/design/mainframe/AuthorityToolBarPane.java

@ -296,9 +296,15 @@ public class AuthorityToolBarPane<T extends WebContent> extends BasicBeanPane<Re
if (toolBarManager.length == 0) {
return;
}
ToolBar resultToolbar = new ToolBar();
for (int i = 0; i < toolBarManager.length; i++) {
toolBarPane.populateBean(toolBarManager[i].getToolBar());
ToolBar toolBar = toolBarManager[i].getToolBar();
for (int j = 0; j < toolBar.getWidgetSize(); j++) {
Widget widget = toolBar.getWidget(j);
resultToolbar.addWidget(widget);
}
}
toolBarPane.populateBean(resultToolbar);
}

Loading…
Cancel
Save