52 lines
813 B
TypeScript
52 lines
813 B
TypeScript
export interface MenuItem {
|
|
path: string
|
|
title: string
|
|
icon?: string
|
|
children?: MenuItem[]
|
|
hidden?: boolean
|
|
}
|
|
|
|
export const menuConfig: MenuItem[] = [
|
|
{
|
|
path: '/',
|
|
title: '仪表盘',
|
|
icon: 'DataLine'
|
|
},
|
|
{
|
|
path: '/analytics',
|
|
title: '行为分析',
|
|
icon: 'TrendCharts'
|
|
},
|
|
{
|
|
path: '/admin',
|
|
title: '管理员管理',
|
|
icon: 'User'
|
|
},
|
|
{
|
|
path: '/user',
|
|
title: '用户管理',
|
|
icon: 'UserFilled'
|
|
},
|
|
{
|
|
path: '/aiconfig',
|
|
title: 'AI配置管理',
|
|
icon: 'Setting'
|
|
},
|
|
{
|
|
path: '/dictionary',
|
|
title: '字典管理',
|
|
icon: 'Document'
|
|
},
|
|
{
|
|
path: '/tools',
|
|
title: '开发工具',
|
|
icon: 'Tools',
|
|
children: [
|
|
{
|
|
path: '/tools/api-tester',
|
|
title: 'API接口调用'
|
|
}
|
|
]
|
|
}
|
|
]
|