Browse Source

REPORT-86430 AlphaFine插件中心tab页显示内容有误

newui
Yann 2 years ago
parent
commit
f180e4f8f5
  1. 4
      designer-realize/src/main/java/com/fr/design/mainframe/alphafine/search/manager/impl/PluginSearchManager.java

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

@ -200,11 +200,7 @@ public class PluginSearchManager implements AlphaFineSearchProvider {
List<PluginModel> parseDefaultPluginModel(List<Map> jsonObjects) { List<PluginModel> parseDefaultPluginModel(List<Map> jsonObjects) {
List<PluginModel> pluginModels = new ArrayList<>(); List<PluginModel> pluginModels = new ArrayList<>();
if (!Collections.isEmpty(jsonObjects)) { if (!Collections.isEmpty(jsonObjects)) {
try {
jsonObjects.sort(PluginSearchManager::sortPluginByUploadTime); jsonObjects.sort(PluginSearchManager::sortPluginByUploadTime);
} catch (Exception e) {
FineLoggerFactory.getLogger().error(e, e.getMessage());
}
int pluginModelsCount = 0; int pluginModelsCount = 0;
String version = "v" + ProductConstants.MAIN_VERSION; String version = "v" + ProductConstants.MAIN_VERSION;
for (Map obj : jsonObjects) { for (Map obj : jsonObjects) {

Loading…
Cancel
Save