fix: 添加 /projects 路由修复登录后页面空白
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been cancelled
CI/CD Pipeline / Frontend Lint (push) Has been cancelled
Deploy / Deploy Staging (push) Has been cancelled
Deploy / Build Production Runtime Images (push) Has been cancelled
Deploy / Deploy Production (push) Has been cancelled
Deploy / Production Browser E2E (push) Has been cancelled

This commit is contained in:
CI Test
2026-06-27 20:16:35 +08:00
parent 82e5f9d4a0
commit 7c8ae7f3cc
+4
View File
@@ -52,6 +52,10 @@ export const router = createBrowserRouter([
index: true,
element: <Navigate to="/projects" replace />,
},
{
path: 'projects',
lazy: () => import('@/pages/workspace/WorkspaceList'),
},
{
path: 'projects/:id/assets',
lazy: () => import('@/pages/workspace/ProjectAssets'),