feat(*): 用户工作台 - 统一黑白灰空间界面并整理画布入口
This commit is contained in:
5
web/src/lib/workspace-routes.ts
Normal file
5
web/src/lib/workspace-routes.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
export function isSpatialWorkbenchPath(pathname: string) {
|
||||
// 画布列表属于用户工作台,只有具体画布编辑器与运营后台保留各自现有视觉契约。
|
||||
const canvasEditor = /^\/canvas\/[^/]+(?:\/|$)/.test(pathname);
|
||||
return !canvasEditor && !pathname.startsWith("/admin");
|
||||
}
|
||||
Reference in New Issue
Block a user