feat: playground add submenu

This commit is contained in:
jialin
2024-11-22 10:00:34 +08:00
parent 22f90a505c
commit e05ec3d2d5
22 changed files with 1141 additions and 207 deletions
+23 -4
View File
@@ -9,11 +9,30 @@ export default [
},
{
name: 'playground',
title: 'Playground',
path: '/playground',
key: 'playground',
icon: 'Comment',
component: './playground'
path: '/playground',
routes: [
{
path: '/playground',
redirect: '/playground/chat'
},
{
name: 'chat',
title: 'Chat',
path: '/playground/chat',
key: 'chat',
icon: 'Comment',
component: './playground/index'
},
{
name: 'rerank',
title: 'Rerank',
path: '/playground/rerank',
key: 'rerank',
icon: 'Comment',
component: './playground/rerank'
}
]
},
{
name: 'models',