chore: route config name case

This commit is contained in:
jialin
2024-06-14 18:56:34 +08:00
parent 3a43d31586
commit e304f27cd3
+7 -7
View File
@@ -7,14 +7,14 @@ export default [
redirect: '/dashboard' redirect: '/dashboard'
}, },
{ {
name: 'Dashboard', name: 'dashboard',
path: '/dashboard', path: '/dashboard',
key: 'dashboard', key: 'dashboard',
icon: 'home', icon: 'home',
component: './dashboard' component: './dashboard'
}, },
{ {
name: 'Playground', name: 'playground',
title: 'Playground', title: 'Playground',
path: '/playground', path: '/playground',
key: 'playground', key: 'playground',
@@ -22,14 +22,14 @@ export default [
component: './playground' component: './playground'
}, },
{ {
name: 'Models', name: 'models',
path: '/models', path: '/models',
key: 'models', key: 'models',
icon: 'Block', icon: 'Block',
component: './llmodels' component: './llmodels'
}, },
{ {
name: 'Resources', name: 'resources',
path: '/resources', path: '/resources',
key: 'resources', key: 'resources',
icon: 'CloudServer', icon: 'CloudServer',
@@ -43,14 +43,14 @@ export default [
component: './api-keys' component: './api-keys'
}, },
{ {
name: 'Users', name: 'users',
path: '/users', path: '/users',
key: 'users', key: 'users',
icon: 'Team', icon: 'Team',
component: './users' component: './users'
}, },
{ {
name: 'Profile', name: 'profile',
path: '/profile', path: '/profile',
key: 'profile', key: 'profile',
hideInMenu: true, hideInMenu: true,
@@ -58,7 +58,7 @@ export default [
icon: 'User' icon: 'User'
}, },
{ {
name: 'Login', name: 'login',
path: '/login', path: '/login',
key: 'login', key: 'login',
layout: false, layout: false,