Browse Source

REPORT-60538 英日韩环境未屏蔽在线组件库

feature/x
方磊 3 years ago
parent
commit
a9ca1e5700
  1. 6
      designer-form/src/main/java/com/fr/design/mainframe/FormWidgetDetailPane.java

6
designer-form/src/main/java/com/fr/design/mainframe/FormWidgetDetailPane.java

@ -10,6 +10,7 @@ import com.fr.design.mainframe.reuse.ComponentReuseNotificationInfo;
import com.fr.design.mainframe.share.collect.ComponentCollector;
import com.fr.design.mainframe.share.ui.local.LocalWidgetRepoPane;
import com.fr.design.mainframe.share.ui.online.OnlineWidgetRepoPane;
import com.fr.general.GeneralContext;
import javax.swing.BorderFactory;
import javax.swing.Icon;
@ -174,7 +175,8 @@ public class FormWidgetDetailPane extends FormDockView{
private void initPaneList() {
paneList = new ArrayList<>();
paneList.add(LocalWidgetRepoPane.getInstance());
paneList.add(OnlineWidgetRepoPane.getInstance());
if (GeneralContext.isChineseEnv()) {
paneList.add(OnlineWidgetRepoPane.getInstance());
}
}
}

Loading…
Cancel
Save