Files
mes-ui-d2/src/menu/modules/demo-playground.js
liyang c2f5bfdbff 开发存档
Former-commit-id: a52163c9c3dad22bdb40f020967e4f94edba9323 [formerly a52163c9c3dad22bdb40f020967e4f94edba9323 [formerly a52163c9c3dad22bdb40f020967e4f94edba9323 [formerly a52163c9c3dad22bdb40f020967e4f94edba9323 [formerly b393934c68c9a9fe59b96135512380c69c85f6fa [formerly 5760d5421930a548c6a3980ad76f79e9d8103027]]]]]
Former-commit-id: 5577a549703aca87a8052549d2ed6de11abac845
Former-commit-id: a29a725d6512f9c03ee9670e5764d42335de21a5
Former-commit-id: 100e09fae2c373d4e7a662460c55da1fa7d3a22a [formerly f4e93720482bb8c31fc3effb1b74cb78aa691647]
Former-commit-id: 13acfdec41ae665da4cfb5ae19160fd3a1e2fa44
Former-commit-id: babbed7319218019876bbf1b76c03ddf68886835
Former-commit-id: 642437c40f03db3ac8340ffee916c18cca9ebdc0
Former-commit-id: c8535dc780a1dd5aee99769d1863ba799221bdc6
Former-commit-id: 286ba818b9545ad4d34c67085ee342f99263cf9d
2018-08-02 14:08:36 +08:00

59 lines
1.9 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}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/error`, title: '错误捕捉', icon: 'bug' }
]
},
{ path: `${pre}env`, title: '环境信息', icon: 'exclamation-circle' }
])('/demo/playground/')
}