Browse Source

REPORT-89867 插件管理整体优化 fix:兼容问题

new-design
Destiny.Lin 1 year ago
parent
commit
76f4b22b2c
  1. 2
      designer-base/src/main/java/com/fr/design/upm/UpmUtils.java

2
designer-base/src/main/java/com/fr/design/upm/UpmUtils.java

@ -4,6 +4,7 @@ import com.fr.common.annotations.Negative;
import com.fr.config.ServerPreferenceConfig; import com.fr.config.ServerPreferenceConfig;
import com.fr.general.CloudCenter; import com.fr.general.CloudCenter;
import com.fr.general.GeneralContext; import com.fr.general.GeneralContext;
import com.fr.general.GeneralUtils;
import com.fr.stable.StringUtils; import com.fr.stable.StringUtils;
import java.util.ArrayList; import java.util.ArrayList;
@ -32,6 +33,7 @@ public class UpmUtils {
Map<String, String> map4Tpl = new HashMap<>(); Map<String, String> map4Tpl = new HashMap<>();
map4Tpl.put("version", ServerPreferenceConfig.getInstance().getOptimizedUPMVersion()); map4Tpl.put("version", ServerPreferenceConfig.getInstance().getOptimizedUPMVersion());
map4Tpl.put("new_version", fetchLatestVersion()); map4Tpl.put("new_version", fetchLatestVersion());
map4Tpl.put("designer_version", GeneralUtils.getVersion());
map4Tpl.put("language", GeneralContext.getLocale().toString()); map4Tpl.put("language", GeneralContext.getLocale().toString());
return map4Tpl; return map4Tpl;
} }

Loading…
Cancel
Save