Former-commit-id: 56f830d8693d9ac264c647aeb62e2cabf915f46e [formerly 56f830d8693d9ac264c647aeb62e2cabf915f46e [formerly 56f830d8693d9ac264c647aeb62e2cabf915f46e [formerly 56f830d8693d9ac264c647aeb62e2cabf915f46e [formerly 5c54818ab49b18a1c5f7dfdbcf9a3e585699623f [formerly 69d8a8881c6c5807882f566c1aad5aaf25c71844]]]]] Former-commit-id: b9f4b800e18a1b0b274170fceec985567a82fe21 Former-commit-id: a62959e0e06f81cee7460baf1bb69b592d9a81d2 Former-commit-id: 11ba6f480f66db6e352acc5975eb0f127c9d553c [formerly eed4539c51e4c855d708f74dea30b175c534772b] Former-commit-id: fc03c9f4d102371aaf3d1e53242b6e2e60e8a617 Former-commit-id: 69967ee1bbe532e61f96b46572cc2f4bfca6ca74 Former-commit-id: 7d78e41d4f5e39fb7b9690a1dd12766f04c79599 Former-commit-id: 2d0d79e4a4916c164f05d9eb761298a246928810 Former-commit-id: d741001cf4ee057219d432fbc26c62cc67bd6cad
62 lines
2.2 KiB
JavaScript
62 lines
2.2 KiB
JavaScript
export default {
|
|
path: '/demo/playground',
|
|
title: '试验台',
|
|
icon: 'flask',
|
|
children: (pre => [
|
|
{ path: `${pre}index`, title: '试验台首页', icon: 'home' },
|
|
{
|
|
path: `${pre}page-cache`,
|
|
title: '页面缓存',
|
|
icon: 'hdd-o',
|
|
children: [
|
|
{ path: `${pre}page-cache/on`, title: '开启缓存' },
|
|
{ path: `${pre}page-cache/off`, title: '关闭缓存' }
|
|
]
|
|
},
|
|
{
|
|
path: `${pre}page-argu`,
|
|
title: '参数传递和留存',
|
|
icon: 'assistive-listening-systems',
|
|
children: [
|
|
{ path: `${pre}page-argu/send`, title: '发送' },
|
|
{ path: `${pre}page-argu/get/username-from-menu?userid=userid-from-menu`, title: '接收' }
|
|
]
|
|
},
|
|
{
|
|
path: `${pre}store`,
|
|
title: '全局状态管理',
|
|
icon: 'bolt',
|
|
children: [
|
|
{ path: `${pre}store/sys`, title: '系统状态', icon: 'microchip' },
|
|
{ path: `${pre}store/menu`, title: '菜单控制', icon: 'bars' },
|
|
{ path: `${pre}store/ua`, title: '浏览器信息', icon: 'info-circle' },
|
|
{ path: `${pre}store/gray`, title: '灰度模式', icon: 'eye' },
|
|
{ path: `${pre}store/fullscreen`, title: '全屏', icon: 'arrows-alt' },
|
|
{ path: `${pre}store/theme`, title: '主题', icon: 'diamond' },
|
|
{ path: `${pre}store/transition`, title: '页面过渡开关', icon: 'toggle-on' }
|
|
]
|
|
},
|
|
{
|
|
path: `${pre}db`,
|
|
title: '数据持久化',
|
|
icon: 'database',
|
|
children: [
|
|
{ path: `${pre}db/all`, title: '全部数据', icon: 'table' },
|
|
{ path: `${pre}db/user`, title: '用户数据', icon: 'user' },
|
|
{ path: `${pre}db/public`, title: '公用数据', icon: 'users' }
|
|
]
|
|
},
|
|
{
|
|
path: `${pre}log`,
|
|
title: '日志',
|
|
icon: 'bullseye',
|
|
children: [
|
|
{ path: `${pre}log/log`, title: '日志记录', icon: 'dot-circle-o' },
|
|
{ path: `${pre}log/error`, title: '错误捕捉', icon: 'bug' },
|
|
{ path: `${pre}log/console`, title: '控制台日志', icon: 'lightbulb-o' }
|
|
]
|
|
},
|
|
{ path: `${pre}env`, title: '环境信息', icon: 'exclamation-circle' }
|
|
])('/demo/playground/')
|
|
}
|