Files
mes-ui-d2/src/menu/modules/demo-playground.js
liyang 0174c01303 db
Former-commit-id: 1205d4cd03396ee388632e406c816d46780178a3 [formerly 1205d4cd03396ee388632e406c816d46780178a3 [formerly 1205d4cd03396ee388632e406c816d46780178a3 [formerly 1205d4cd03396ee388632e406c816d46780178a3 [formerly 80d9cf0302f08fc268cdc0e5d895674dbf57ca2f [formerly 070b1d2fe7b2e790ec6ceb8be31adc33e64ee637]]]]]
Former-commit-id: 1c1d13a8d7a70c17539877d558a6c7fbcb262fb0
Former-commit-id: baa33fdffa02d320b4fbe6c0d9e91402d21f49d7
Former-commit-id: 755d70918e2459f40ccf4c5f523b811470ebd40c [formerly c10b57dfd1410ee7b1dc753f1166dd2408948251]
Former-commit-id: 2cc9546dfe7200822fa75f3f10da05c0e4958aaf
Former-commit-id: 8285923188bee29334a7fb1cc4766972b3446548
Former-commit-id: cb7b394ced669932a2e1a47fb9bd24651256bd84
Former-commit-id: 23be03c7a903e6c489c06eeb51ebd08235fa3e9f
Former-commit-id: be11dd81b5a833fb7bdda3d73d7c5fcb7fbc8fb6
2018-08-19 07:47:32 +08:00

66 lines
2.5 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/public`, title: '公共存储', icon: 'users' },
{ path: `${pre}db/user`, title: '私有数据', icon: 'user' },
{ path: `${pre}db/page-public`, title: '路由存储', icon: 'file-o' },
{ path: `${pre}db/page-user`, title: '私有路由存储', icon: 'file-o' },
{ path: `${pre}db/page-snapshot-public`, title: '路由快照', icon: 'file' },
{ path: `${pre}db/page-snapshot-user`, title: '私有路由快照', icon: 'file' }
]
},
{
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/')
}