chore: checkpoint admin restore state

This commit is contained in:
john
2026-06-30 20:26:33 +08:00
parent f2172322fd
commit f9a7584ad4
63 changed files with 7555 additions and 1030 deletions
+14 -7
View File
@@ -13,25 +13,32 @@ type NavSection = {
const NAV_SECTIONS: NavSection[] = [
{
items: [{ to: '/admin', label: '概览', end: true }],
items: [{ to: '/', label: '概览', end: true }],
},
{
label: '用户与账户',
items: [{ to: '/admin/users', label: '用户管理' }],
items: [{ to: '/users', label: '用户管理' }],
},
{
label: '计费',
items: [{ to: '/admin/billing', label: '计费中心', end: false }],
items: [{ to: '/billing', label: '计费中心', end: false }],
},
{
label: '平台配置',
items: [
{ to: '/admin/capabilities', label: '能力' },
{ to: '/admin/skills', label: '技能' },
{ to: '/admin/policies', label: '策略' },
{ to: '/admin/providers', label: 'LLM Provider' },
{ to: '/wechat', label: '服务号' },
{ to: '/mindspace', label: 'MindSpace 配置' },
{ to: '/capabilities', label: '能力' },
{ to: '/skills', label: '技能' },
{ to: '/policies', label: '策略' },
{ to: '/providers', label: '统一模型中心' },
{ to: '/blocked-words', label: '违禁词管理' },
],
},
{
label: 'Plaza',
items: [{ to: '/ops', label: '运营后台', end: false }],
},
];
export function AdminNav() {