From a1c8f3ac0bf4ca73250f0a0597f203c7920f9734 Mon Sep 17 00:00:00 2001 From: "Destiny.Lin" Date: Wed, 3 Jul 2024 15:22:08 +0800 Subject: [PATCH] =?UTF-8?q?REPORT-114392=20FR-FBP=E7=89=88=E6=9C=AC?= =?UTF-8?q?=E6=9C=AC=E5=9C=B0=E8=AE=BE=E8=AE=A1=E9=80=82=E9=85=8D=20=20?= =?UTF-8?q?=E4=BB=A3=E7=A0=81=E8=B4=A8=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/fanruan/boot/init/DesignerInitComponent.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/designer-realize/src/main/java/com/fanruan/boot/init/DesignerInitComponent.java b/designer-realize/src/main/java/com/fanruan/boot/init/DesignerInitComponent.java index ead264625a..4a60bff503 100644 --- a/designer-realize/src/main/java/com/fanruan/boot/init/DesignerInitComponent.java +++ b/designer-realize/src/main/java/com/fanruan/boot/init/DesignerInitComponent.java @@ -113,6 +113,11 @@ public class DesignerInitComponent { suspendRecorder(context); Carina.getApplicationContext().group(ActivatorContextGroup.class).add(activatorContext); PreLoadService.getInstance().waitForUI(); + initUIUtilsTask(context); + waitSubTask(); + } + + private void initUIUtilsTask(DesignerStartupContext context) { UIUtil.invokeLaterIfNeeded(() -> { StartupPageModel model = StartupPageModel.create(); context.setStartupPageModel(model); @@ -147,7 +152,6 @@ public class DesignerInitComponent { context.setOnWaiting(true); suspendWatch.start(); }); - waitSubTask(); } private void suspendRecorder(DesignerStartupContext context) {