Skip to content

Commit 05aa122

Browse files
authored
fix: routes file configuration issues (#587)
1 parent b4afd24 commit 05aa122

File tree

1 file changed

+18
-15
lines changed

1 file changed

+18
-15
lines changed

ui/config/routes.ts

Lines changed: 18 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -18,31 +18,19 @@ export default [
1818
component: 'Cluster',
1919
name: '集群页',
2020
},
21-
{
22-
path: 'cluster/new',
23-
component: 'Cluster/New',
24-
name: '创建集群',
25-
},
21+
2622
{
2723
path: 'tenant',
2824
component: 'Tenant',
2925
name: '租户页',
3026
},
31-
{
32-
path: 'tenant/new',
33-
component: 'Tenant/New',
34-
name: '创建租户',
35-
},
27+
3628
{
3729
path: 'obproxy',
3830
component: 'OBProxy',
3931
name: 'obproxy',
4032
},
41-
{
42-
path: 'obproxy/new',
43-
component: 'OBProxy/New',
44-
name: '创建obproxy',
45-
},
33+
4634
{
4735
path: 'alert',
4836
component: 'Alert',
@@ -96,6 +84,21 @@ export default [
9684
},
9785
],
9886
},
87+
{
88+
path: 'tenant/new',
89+
component: 'Tenant/New',
90+
name: '创建租户',
91+
},
92+
{
93+
path: 'cluster/new',
94+
component: 'Cluster/New',
95+
name: '创建集群',
96+
},
97+
{
98+
path: 'obproxy/new',
99+
component: 'OBProxy/New',
100+
name: '创建obproxy',
101+
},
99102
{
100103
path: 'cluster/:ns/:name/:clusterName',
101104
component: 'Cluster/Detail',

0 commit comments

Comments
 (0)