1.2.0
Former-commit-id: eee1f4b4c260bfcbd529e5e7b9bfd851183ab029
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
const setting = {
|
||||
path: '/core/setting',
|
||||
title: '设置',
|
||||
icon: 'cog',
|
||||
children: (pre => [
|
||||
{ path: `${pre}index`, title: '设置首页', icon: 'home' },
|
||||
{ path: `${pre}releases`, title: '版本', icon: 'info-circle' },
|
||||
])('/core/setting/'),
|
||||
};
|
||||
|
||||
// 菜单 侧边栏
|
||||
export const side = [
|
||||
setting,
|
||||
];
|
||||
|
||||
// 菜单 顶栏
|
||||
export default [
|
||||
{
|
||||
path: '/index',
|
||||
title: '首页',
|
||||
icon: 'home',
|
||||
},
|
||||
setting,
|
||||
];
|
||||
Reference in New Issue
Block a user