fix: 增加对话token显示,token消耗统计

This commit is contained in:
Gsh
2025-08-10 00:56:44 +08:00
parent a9c3a1bcec
commit 3eb27c3d35
10 changed files with 545 additions and 37 deletions

View File

@@ -62,6 +62,7 @@ const navItems = [
// { name: 'permission', label: '权限管理', icon: 'Key' },
{ name: 'apiKey', label: 'API密钥', icon: 'Key' },
{ name: 'rechargeLog', label: '充值记录', icon: 'Document' },
{ name: 'usageStatistics', label: '用量统计', icon: 'Histogram' },
];
function openDialog() {
dialogVisible.value = true;
@@ -259,6 +260,10 @@ function openVipGuide() {
<template #user>
<user-management />
</template>
<!-- 用量统计 -->
<template #usageStatistics>
<usage-statistics />
</template>
<!-- 角色管理内容 -->
<template #role>