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