Browse Source

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

release/11.0
Destiny.Lin 1 year ago
parent
commit
5c3377d146
  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