@ -171,5 +171,17 @@ public enum SupportLocaleImpl implements SupportLocale {
set.add(Locale.TAIWAN);
return set;
}
},
/**
* 帮助-服务平台(只针对中国大陆)
*/
SERVICE_PLATFORM {
@Override
public Set<Locale> support() {
Set<Locale> set = new HashSet<>();
set.add(Locale.CHINA);
@ -571,9 +571,8 @@ public abstract class ToolBarMenuDock {
//服务平台(仅针对中国大陆)
if (GeneralContext.getLocale().equals(Locale.CHINA)) {
shortCuts.add(new ServicePlatformAction());
LocaleCenter.buildAction(() -> shortCuts.add(new ServicePlatformAction()), SupportLocaleImpl.SERVICE_PLATFORM);
shortCuts.add(SeparatorDef.DEFAULT);
if (DesignerEnvManager.getEnvManager().isOpenDebug()) {