Browse Source

CHART-15840 图表第一次加载慢

feature/big-screen
白岳 4 years ago
parent
commit
9391e36c98
  1. 2
      designer-chart/src/main/java/com/fr/design/chart/ChartDesignerActivator.java

2
designer-chart/src/main/java/com/fr/design/chart/ChartDesignerActivator.java

@ -15,6 +15,7 @@ import com.fr.locale.LocaleScope;
import com.fr.module.Activator;
import com.fr.module.extension.Prepare;
import com.fr.plugin.chart.vanchart.export.ImagePainter;
import com.fr.plugin.chart.vanchart.export.PainterDispatcher;
import com.fr.stable.bridge.StableFactory;
import com.fr.stable.plugin.ExtraChartDesignClassManagerProvider;
import com.fr.van.chart.DownloadOnlineSourcesHelper;
@ -46,6 +47,7 @@ public class ChartDesignerActivator extends Activator implements Prepare {
ImagePainter.registerDownloadSourcesEvent(new DownloadOnlineSourcesHelper());
ImagePainter.registerDefaultCallbackEvent(HistoryTemplateListCache.getInstance());
PainterDispatcher.getInstance().distributeDesignPainter();
ChartTypeInterfaceManager.addPluginChangedListener();
}

Loading…
Cancel
Save