Skip to content

Commit

Permalink
fix: routes file configuration issues (#587)
Browse files Browse the repository at this point in the history
  • Loading branch information
TianWuwt authored Oct 15, 2024
1 parent b4afd24 commit 05aa122
Showing 1 changed file with 18 additions and 15 deletions.
33 changes: 18 additions & 15 deletions ui/config/routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,31 +18,19 @@ export default [
component: 'Cluster',
name: '集群页',
},
{
path: 'cluster/new',
component: 'Cluster/New',
name: '创建集群',
},

{
path: 'tenant',
component: 'Tenant',
name: '租户页',
},
{
path: 'tenant/new',
component: 'Tenant/New',
name: '创建租户',
},

{
path: 'obproxy',
component: 'OBProxy',
name: 'obproxy',
},
{
path: 'obproxy/new',
component: 'OBProxy/New',
name: '创建obproxy',
},

{
path: 'alert',
component: 'Alert',
Expand Down Expand Up @@ -96,6 +84,21 @@ export default [
},
],
},
{
path: 'tenant/new',
component: 'Tenant/New',
name: '创建租户',
},
{
path: 'cluster/new',
component: 'Cluster/New',
name: '创建集群',
},
{
path: 'obproxy/new',
component: 'OBProxy/New',
name: '创建obproxy',
},
{
path: 'cluster/:ns/:name/:clusterName',
component: 'Cluster/Detail',
Expand Down

0 comments on commit 05aa122

Please sign in to comment.