Browse Source

Pull request #12313: REPORT-99320 插件管理整体优化-设计器内单个插件更新的提示没有显示哪个插件更新,和平台提示文本不一致

Merge in DESIGN/design from ~DESTINY.LIN/design:release/11.0 to release/11.0

* commit '5c3377d146374d8fa2f6b1df482c81e80c62c874':
  REPORT-99320 插件管理整体优化-设计器内单个插件更新的提示没有显示哪个插件更新,和平台提示文本不一致
release/11.0
parent
commit
61f991a8a8
  1. 2
      designer-base/src/main/java/com/fr/design/extra/PluginOperateUtils.java

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

@ -70,7 +70,7 @@ public class PluginOperateUtils {
public static void updatePluginOnline(List<PluginMarker> pluginMarkerList, JSCallback jsCallback) {
int size = pluginMarkerList.size();
BatchUpdateOnlineCallback batchUpdateOnlineCallback = new BatchUpdateOnlineCallback(jsCallback, size);
BatchUpdateOnlineCallback batchUpdateOnlineCallback = size <= 1 ? BatchUpdateOnlineCallback.NONE : new BatchUpdateOnlineCallback(jsCallback, size);
for (int i = 0; i < size; i++) {
updatePluginOnline(pluginMarkerList.get(i), jsCallback, batchUpdateOnlineCallback);
}

Loading…
Cancel
Save