feat: ✨ 顶栏菜单调整
This commit is contained in:
parent
d88d393e29
commit
0c3601ddba
|
|
@ -6,7 +6,7 @@ import demoPlugins from './modules/demo-plugins'
|
|||
import demoComponents from './modules/demo-components'
|
||||
// 组件
|
||||
import demoCharts from './modules/demo-charts'
|
||||
// 试验台
|
||||
// 功能
|
||||
import demoPlayground from './modules/demo-playground'
|
||||
// 示例
|
||||
import demoBusiness from './modules/demo-business'
|
||||
|
|
@ -48,15 +48,15 @@ export const menuHeader = supplementPath([
|
|||
title: '首页',
|
||||
icon: 'home'
|
||||
},
|
||||
demoComponents,
|
||||
demoCharts,
|
||||
demoPlugins,
|
||||
{
|
||||
title: '功能',
|
||||
title: '社区插件',
|
||||
icon: 'puzzle-piece',
|
||||
children: [
|
||||
demoD2Crud,
|
||||
demoD2CrudPlus,
|
||||
demoComponents,
|
||||
demoCharts,
|
||||
demoPlugins
|
||||
demoD2CrudPlus
|
||||
]
|
||||
},
|
||||
demoPlayground,
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
export default {
|
||||
path: '/demo/business',
|
||||
title: '示例',
|
||||
icon: 'flask',
|
||||
icon: 'terminal',
|
||||
children: (pre => [
|
||||
{ path: `${pre}index`, title: '示例', icon: 'home' },
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
export default {
|
||||
path: '/demo/components',
|
||||
title: '内置组件',
|
||||
title: '组件',
|
||||
icon: 'puzzle-piece',
|
||||
children: (pre => [
|
||||
{ path: `${pre}index`, title: '扩展组件', icon: 'home' },
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
export default {
|
||||
path: '/demo/playground',
|
||||
title: '试验台',
|
||||
title: '功能',
|
||||
icon: 'flask',
|
||||
children: (pre => [
|
||||
{ path: `${pre}index`, title: '试验台', icon: 'home' },
|
||||
{ path: `${pre}index`, title: '功能', icon: 'home' },
|
||||
{
|
||||
title: 'svg 菜单图标',
|
||||
iconSvg: 'd2-admin',
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ export default {
|
|||
redirect: { name: 'demo-playground-index' },
|
||||
component: layoutHeaderAside,
|
||||
children: (pre => [
|
||||
{ path: 'index', name: `${pre}index`, component: _import('demo/playground/index'), meta: { ...meta, title: '试验台首页' } },
|
||||
{ path: 'index', name: `${pre}index`, component: _import('demo/playground/index'), meta: { ...meta, title: '功能首页' } },
|
||||
{ path: 'store/page', name: `${pre}store-page`, component: _import('demo/playground/store/page'), meta: { ...meta, cache: true, title: '多标签页控制' } },
|
||||
{ path: 'store/menu', name: `${pre}store-menu`, component: _import('demo/playground/store/menu'), meta: { ...meta, title: '菜单控制' } },
|
||||
{ path: 'store/size', name: `${pre}store-size`, component: _import('demo/playground/store/size'), meta: { ...meta, title: '全局尺寸' } },
|
||||
|
|
|
|||
Loading…
Reference in New Issue