no message
Former-commit-id: d216cdfcd3072c81aa6801d8d4a0f8f8f597ce52 Former-commit-id: 4b52eebe1e1074ff38cb4f8f2cb28731584a59b8 Former-commit-id: fd0d59bcd8950951818db7978999da547b0a117e
This commit is contained in:
@@ -1,36 +0,0 @@
|
||||
// [图表] 菜单
|
||||
export const menu = {
|
||||
title: '图表',
|
||||
path: '/demo/charts',
|
||||
name: 'demo-charts',
|
||||
component: resolve => { require(['@/components/core/MainLayout/index.vue'], resolve) },
|
||||
children: [
|
||||
// pie 饼图
|
||||
{
|
||||
title: '饼图',
|
||||
icon: 'pie-graph',
|
||||
children: [
|
||||
{
|
||||
title: '样式 1',
|
||||
icon: 'document',
|
||||
path: 'pie/1',
|
||||
name: 'demo-charts-pie-1',
|
||||
component: resolve => { require(['@/pages/demo/charts/pie/1.vue'], resolve) }
|
||||
},
|
||||
{
|
||||
title: '样式 2',
|
||||
icon: 'document',
|
||||
path: 'pie/2',
|
||||
name: 'demo-charts-pie-2',
|
||||
component: resolve => { require(['@/pages/demo/charts/pie/2.vue'], resolve) }
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
// [图表] 路由设置
|
||||
export const router = {
|
||||
...menu,
|
||||
children: [].concat(...menu.children.map(e => e.children || e))
|
||||
}
|
||||
@@ -1,17 +1,14 @@
|
||||
import * as plugin from './_plugin'
|
||||
import * as charts from './_charts'
|
||||
import * as business from './_business'
|
||||
|
||||
// 菜单
|
||||
export const menu = [
|
||||
plugin.menu,
|
||||
charts.menu,
|
||||
business.menu
|
||||
]
|
||||
|
||||
// 路由
|
||||
export const router = [
|
||||
plugin.router,
|
||||
charts.router,
|
||||
business.router
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user