From cc8b7ea5ac66d46c1f24e6bac2bfeaf0275044b3 Mon Sep 17 00:00:00 2001 From: Hanxing Yang Date: Tue, 5 Nov 2024 16:07:32 +0800 Subject: [PATCH 1/5] Preload project runner (#1067) * preload project runner * use prefetch instead of preload --- .../editor/preview/EditorPreview.vue | 8 +++-- .../project/runner/IframeDisplay.vue | 34 +++++++++++++++---- .../project/runner/ProjectRunner.vue | 6 +++- .../project/runner/RunnerContainer.vue | 7 +++- spx-gui/src/pages/community/project.vue | 8 +++-- .../src/widgets/spx-runner/SpxRunner.ce.vue | 8 +++-- 6 files changed, 57 insertions(+), 14 deletions(-) diff --git a/spx-gui/src/components/editor/preview/EditorPreview.vue b/spx-gui/src/components/editor/preview/EditorPreview.vue index 27e5ff655..138589f05 100644 --- a/spx-gui/src/components/editor/preview/EditorPreview.vue +++ b/spx-gui/src/components/editor/preview/EditorPreview.vue @@ -19,15 +19,19 @@ diff --git a/spx-gui/src/components/ui/modal/UIDropdownModal.vue b/spx-gui/src/components/ui/modal/UIDropdownModal.vue index 7655abec2..07d67d43d 100644 --- a/spx-gui/src/components/ui/modal/UIDropdownModal.vue +++ b/spx-gui/src/components/ui/modal/UIDropdownModal.vue @@ -1,5 +1,5 @@