refactor(canvas): 预演台 - 重构工作台与场景交互链路

This commit is contained in:
ddcat666 committed 2026-10-06 09:11:15 +08:00
1 parent 1dfc8ce7ac
commit 112916587c
128 files changed
+42372 -5011

No files matched your search

+2 -2
View File
@@ -2,7 +2,7 @@ import "@fontsource-variable/inter";
import "@fontsource-variable/jetbrains-mono";
import { installChunkRecovery } from "@/lib/chunk-recovery";
import { bootstrapAppearance } from "@/services/appearance-bootstrap";
import { isIsolatedDirectorRepro } from "@/lib/dev-repro";
import { isIsolatedPrevisRepro } from "@/lib/dev-repro";
installChunkRecovery();
@@ -10,7 +10,7 @@ installChunkRecovery();
if (/^\/welcome\/?$/.test(window.location.pathname)) void import("./welcome-application");
else {
// The backend-free DEV lab must not make requests before AppProviders isolates it.
const appearanceReady = isIsolatedDirectorRepro(import.meta.env.DEV, window.location.pathname) ? Promise.resolve() : bootstrapAppearance();
const appearanceReady = isIsolatedPrevisRepro(import.meta.env.DEV, window.location.pathname) ? Promise.resolve() : bootstrapAppearance();
void import("./application");
void appearanceReady.catch(() => undefined);
}