Browse Source

REPORT-43744 【10.0.13】插件与jar包不匹配问题优化

feature/big-screen
lucian 4 years ago
parent
commit
3d15e4b6fd
  1. 2
      designer-base/src/main/java/com/fr/design/extra/PluginUtils.java
  2. 2
      designer-realize/src/main/java/com/fr/design/mainframe/alphafine/search/manager/impl/PluginSearchManager.java

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

@ -249,7 +249,7 @@ public class PluginUtils {
}
private static boolean isCompatibleCurrentEnv(String envVersion) {
return VersionIntervalType.isSupported(VersionIntervalFactory.create(envVersion).contain(Version.currentEnvVersion()));
return VersionIntervalFactory.create(envVersion).contain(Version.currentEnvVersion());
}

2
designer-realize/src/main/java/com/fr/design/mainframe/alphafine/search/manager/impl/PluginSearchManager.java

@ -43,7 +43,7 @@ public class PluginSearchManager implements AlphaFineSearchProvider {
}
private static boolean isCompatibleCurrentEnv(String envVersion) {
return VersionIntervalType.isSupported(VersionIntervalFactory.create(envVersion).contain(Version.currentEnvVersion()));
return VersionIntervalFactory.create(envVersion).contain(Version.currentEnvVersion());
}
private static PluginModel getPluginModel(JSONObject object, boolean isFromCloud) {

Loading…
Cancel
Save