Browse Source

Pull request #6323: REPORT-60366 fr11-linux设计器-插件无法在线更新

Merge in DESIGN/design from ~LANLAN/design:final/11.0 to final/11.0

* commit '8d0737a91cdb24463dbc06fd8d8c60329ecccb09':
  REPORT-60366 fr11-linux设计器-插件无法在线更新
final/11.0
Lanlan 3 years ago
parent
commit
ecccf4089d
  1. 10
      designer-base/src/main/java/com/fr/design/extra/PluginUtils.java

10
designer-base/src/main/java/com/fr/design/extra/PluginUtils.java

@ -80,10 +80,12 @@ public class PluginUtils {
public static String transPluginsToString(List<PluginContext> plugins) throws Exception {
JSONArray jsonArray = new JSONArray();
for (PluginContext plugin : plugins) {
JSONObject jo = new JSONObject();
jo.put("id", plugin.getID());
jo.put("version", plugin.getVersion());
jsonArray.put(jo);
if (VersionIntervalType.isSupported(plugin.supportCurrentFRVersion())) {
JSONObject jo = new JSONObject();
jo.put("id", plugin.getID());
jo.put("version", plugin.getVersion());
jsonArray.put(jo);
}
}
return jsonArray.toString();
}

Loading…
Cancel
Save