1
This commit is contained in:
parent
132acb1483
commit
278ada41eb
@ -30,7 +30,6 @@ const User = lazy(() => import('../pages/System/User'));
|
||||
const Role = lazy(() => import('../pages/System/Role'));
|
||||
const Menu = lazy(() => import('../pages/System/Menu'));
|
||||
const Department = lazy(() => import('../pages/System/Department'));
|
||||
const External = lazy(() => import('../pages/System/External'));
|
||||
const X6Test = lazy(() => import('../pages/X6Test'));
|
||||
const WorkflowDefinitionList = lazy(() => import('../pages/Workflow/Definition'));
|
||||
const WorkflowDesign = lazy(() => import('../pages/Workflow/Definition/Design'));
|
||||
@ -42,6 +41,7 @@ const NodeDesignForm = lazy(() => import('../pages/Workflow/NodeDesign/Design'))
|
||||
const ProjectGroupList = lazy(() => import('../pages/Deploy/ProjectGroup/List'));
|
||||
const ApplicationList = lazy(() => import('../pages/Deploy/Application/List'));
|
||||
const EnvironmentList = lazy(() => import('../pages/Deploy/Environment/List'));
|
||||
const External = lazy(() => import('../pages/Deploy/External'));
|
||||
|
||||
// 创建路由
|
||||
const router = createBrowserRouter([
|
||||
@ -83,6 +83,14 @@ const router = createBrowserRouter([
|
||||
{
|
||||
path: 'environments',
|
||||
element: <Suspense fallback={<LoadingComponent/>}><EnvironmentList/></Suspense>
|
||||
},
|
||||
{
|
||||
path: 'external',
|
||||
element: (
|
||||
<Suspense fallback={<LoadingComponent/>}>
|
||||
<External/>
|
||||
</Suspense>
|
||||
)
|
||||
}
|
||||
]
|
||||
},
|
||||
@ -120,14 +128,6 @@ const router = createBrowserRouter([
|
||||
<Department/>
|
||||
</Suspense>
|
||||
)
|
||||
},
|
||||
{
|
||||
path: 'external',
|
||||
element: (
|
||||
<Suspense fallback={<LoadingComponent/>}>
|
||||
<External/>
|
||||
</Suspense>
|
||||
)
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
Loading…
Reference in New Issue
Block a user