Skip to content

Commit f62348a

Browse files
committed
chore: delete list/business-example
1 parent 2545a22 commit f62348a

File tree

8 files changed

+510
-502
lines changed

8 files changed

+510
-502
lines changed

src/config/router.config.js

Lines changed: 46 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export const asyncRouterMap = [
2929
{
3030
path: 'https://www.baidu.com/',
3131
name: 'Monitor',
32-
meta: { title: '监控页', target: '_blank' }
32+
meta: { title: '监控页(外部)', target: '_blank' }
3333
},
3434
{
3535
path: '/dashboard/workplace',
@@ -83,42 +83,6 @@ export const asyncRouterMap = [
8383
component: () => import('@/views/list/TableList'),
8484
meta: { title: '查询表格', keepAlive: true, permission: [ 'table' ] }
8585
},
86-
{
87-
path: '/list/tree-list',
88-
name: 'TreeList',
89-
component: () => import('@/views/list/TreeList'),
90-
meta: { title: '树目录表格', keepAlive: true, permission: [ 'table' ] }
91-
},
92-
{
93-
path: '/list/edit-table',
94-
name: 'EditList',
95-
component: () => import('@/views/list/TableInnerEditList'),
96-
meta: { title: '内联编辑表格', keepAlive: true, permission: [ 'table' ] }
97-
},
98-
{
99-
path: '/list/user-list',
100-
name: 'UserList',
101-
component: () => import('@/views/list/UserList'),
102-
meta: { title: '用户列表', keepAlive: true, permission: [ 'table' ] }
103-
},
104-
{
105-
path: '/list/role-list',
106-
name: 'RoleList',
107-
component: () => import('@/views/list/RoleList'),
108-
meta: { title: '角色列表', keepAlive: true, permission: [ 'table' ] }
109-
},
110-
{
111-
path: '/list/system-role',
112-
name: 'SystemRole',
113-
component: () => import('@/views/role/RoleList'),
114-
meta: { title: '角色列表2', keepAlive: true, permission: [ 'table' ] }
115-
},
116-
{
117-
path: '/list/permission-list',
118-
name: 'PermissionList',
119-
component: () => import('@/views/list/PermissionList'),
120-
meta: { title: '权限列表', keepAlive: true, permission: [ 'table' ] }
121-
},
12286
{
12387
path: '/list/basic-list',
12488
name: 'BasicList',
@@ -305,7 +269,51 @@ export const asyncRouterMap = [
305269
path: '/other/icon-selector',
306270
name: 'TestIconSelect',
307271
component: () => import('@/views/other/IconSelectorView'),
308-
meta: { title: 'IconSelector', keepAlive: true, permission: [ 'dashboard' ] }
272+
meta: { title: 'IconSelector', icon: 'tool', keepAlive: true, permission: [ 'dashboard' ] }
273+
},
274+
{
275+
path: '/other/list',
276+
component: RouteView,
277+
meta: { title: '业务布局', icon: 'layout', permission: [ 'support' ] },
278+
redirect: '/other/list/tree-list',
279+
children: [
280+
{
281+
path: '/other/list/tree-list',
282+
name: 'TreeList',
283+
component: () => import('@/views/other/TreeList'),
284+
meta: { title: '树目录表格', keepAlive: true }
285+
},
286+
{
287+
path: '/other/list/edit-table',
288+
name: 'EditList',
289+
component: () => import('@/views/other/TableInnerEditList'),
290+
meta: { title: '内联编辑表格', keepAlive: true }
291+
},
292+
{
293+
path: '/other/list/user-list',
294+
name: 'UserList',
295+
component: () => import('@/views/other/UserList'),
296+
meta: { title: '用户列表', keepAlive: true }
297+
},
298+
{
299+
path: '/other/list/role-list',
300+
name: 'RoleList',
301+
component: () => import('@/views/other/RoleList'),
302+
meta: { title: '角色列表', keepAlive: true }
303+
},
304+
{
305+
path: '/other/list/system-role',
306+
name: 'SystemRole',
307+
component: () => import('@/views/role/RoleList'),
308+
meta: { title: '角色列表2', keepAlive: true }
309+
},
310+
{
311+
path: '/other/list/permission-list',
312+
name: 'PermissionList',
313+
component: () => import('@/views/other/PermissionList'),
314+
meta: { title: '权限列表', keepAlive: true }
315+
}
316+
]
309317
}
310318
]
311319
}

0 commit comments

Comments
 (0)