feat(*): 用户工作台 - 统一黑白灰空间界面并整理画布入口

This commit is contained in:
ddCat
2026-07-31 15:33:37 +08:00
parent ecb5b496d4
commit ad254784e4
11 changed files with 484 additions and 59 deletions

View File

@@ -0,0 +1,5 @@
export function isSpatialWorkbenchPath(pathname: string) {
// 画布列表属于用户工作台,只有具体画布编辑器与运营后台保留各自现有视觉契约。
const canvasEditor = /^\/canvas\/[^/]+(?:\/|$)/.test(pathname);
return !canvasEditor && !pathname.startsWith("/admin");
}