Browse Source

REPORT-3976 客户端插件版本控制

master
vito 7 years ago
parent
commit
8f6f1a1ba6
  1. 2
      designer_base/src/com/fr/design/extra/PluginUtils.java

2
designer_base/src/com/fr/design/extra/PluginUtils.java

@ -195,7 +195,7 @@ public class PluginUtils {
JSONArray resultJSONArray = JSONArray.create(); JSONArray resultJSONArray = JSONArray.create();
for(int i = 0; i < oriJSONArray.length(); i++){ for(int i = 0; i < oriJSONArray.length(); i++){
JSONObject jo = oriJSONArray.getJSONObject(i); JSONObject jo = oriJSONArray.getJSONObject(i);
String envVersion = jo.optString("env-version"); String envVersion = jo.optString("envversion");
if(isCompatibleCurrentEnv(envVersion)){ if(isCompatibleCurrentEnv(envVersion)){
resultJSONArray.put(jo); resultJSONArray.put(jo);
} }

Loading…
Cancel
Save