Browse Source

REPORT-130371 fix:标记导入工具栏点击无反应

fbp-1.0
Coral.Chen 4 months ago
parent
commit
64defd0e37
  1. 3
      designer-realize/src/main/java/com/fanruan/boot/env/DesignCorePluginComponent.java
  2. 4
      designer-realize/src/main/java/com/fanruan/boot/env/DesignPluginComponent.java

3
designer-realize/src/main/java/com/fanruan/boot/env/DesignCorePluginComponent.java vendored

@ -34,9 +34,8 @@ public class DesignCorePluginComponent extends CorePluginComponent {
*/
@Start
public void start() {
ExtraClassManager.getInstance().registerAutonomyClassManager(Carina.getApplicationContext().group(AutonomyClassManagerGroup.class).getAll().toArray(new AutonomyClassManagerProvider[0]));
/// 插件下沉不能直接调用fbp的逻辑,此时内置服务器未启动,一部分逻辑要拆到内置服务器启动的时候再做
//super.start();
// super.start();
}

4
designer-realize/src/main/java/com/fanruan/boot/env/DesignPluginComponent.java vendored

@ -6,6 +6,9 @@ import com.fanruan.carina.annotions.DependsOn;
import com.fanruan.carina.annotions.FineComponent;
import com.fanruan.carina.annotions.Start;
import com.fanruan.carina.annotions.Supplemental;
import com.fanruan.plugin.autonomy.AutonomyClassManagerGroup;
import com.fanruan.plugin.autonomy.AutonomyClassManagerProvider;
import com.fr.plugin.ExtraClassManager;
import javax.servlet.ServletContext;
@ -33,6 +36,7 @@ public class DesignPluginComponent extends PluginComponent {
*/
@Start
public void start() {
ExtraClassManager.getInstance().registerAutonomyClassManager(Carina.getApplicationContext().group(AutonomyClassManagerGroup.class).getAll().toArray(new AutonomyClassManagerProvider[0]));
super.start();
}

Loading…
Cancel
Save