提交
This commit is contained in:
1 parent
d84f4b944c
commit
7c838cfb2d
249 files changed
+50600
-18556
No files matched your search
@@ -0,0 +1,82 @@
|
||||
import type { AppRouteRecord } from '@/types/router'
|
||||
|
||||
/**
|
||||
* Demo 模板页(Fresh Mint UI 参考)
|
||||
* Hash:/#/demo/console、/#/demo/unit 等
|
||||
*/
|
||||
export const demoRoutes: AppRouteRecord[] = [
|
||||
{
|
||||
id: 'DEMO00000000000000000000000001',
|
||||
name: 'DemoGroup',
|
||||
path: '/demo',
|
||||
component: '/index/index',
|
||||
meta: {
|
||||
title: 'Demo',
|
||||
icon: 'ri:palette-line',
|
||||
keepAlive: false,
|
||||
roles: ['admin']
|
||||
},
|
||||
children: [
|
||||
{
|
||||
id: 'DEMO00000000000000000000000002',
|
||||
name: 'DemoConsole',
|
||||
path: 'console',
|
||||
component: '/dashboard/console/index',
|
||||
meta: {
|
||||
title: '工作台',
|
||||
keepAlive: false
|
||||
}
|
||||
},
|
||||
{
|
||||
id: 'DEMO00000000000000000000000003',
|
||||
name: 'DemoUnit',
|
||||
path: 'unit',
|
||||
component: '/demo/unit/index',
|
||||
meta: {
|
||||
title: '标准列表(单位)',
|
||||
keepAlive: true
|
||||
}
|
||||
},
|
||||
{
|
||||
id: 'DEMO00000000000000000000000004',
|
||||
name: 'DemoOrder',
|
||||
path: 'order',
|
||||
component: '/demo/order/index',
|
||||
meta: {
|
||||
title: '复杂列表(订单)',
|
||||
keepAlive: true
|
||||
}
|
||||
},
|
||||
{
|
||||
id: 'DEMO00000000000000000000000005',
|
||||
name: 'DemoProduct',
|
||||
path: 'product',
|
||||
component: '/demo/product/index',
|
||||
meta: {
|
||||
title: '商品列表',
|
||||
keepAlive: true
|
||||
}
|
||||
},
|
||||
{
|
||||
id: 'DEMO00000000000000000000000006',
|
||||
name: 'DemoCategory',
|
||||
path: 'category',
|
||||
component: '/demo/category/index',
|
||||
meta: {
|
||||
title: '树形主数据(分类)',
|
||||
keepAlive: true
|
||||
}
|
||||
},
|
||||
{
|
||||
id: 'DEMO00000000000000000000000007',
|
||||
name: 'DemoUser',
|
||||
path: 'user',
|
||||
component: '/system/user/index',
|
||||
meta: {
|
||||
title: '用户 CRUD',
|
||||
keepAlive: true
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
Reference in new issue
Block a user