From b071511676a5cf560a23d8da470104f3c54800fd Mon Sep 17 00:00:00 2001 From: shaw Date: Wed, 24 Dec 2025 10:57:40 +0800 Subject: [PATCH] =?UTF-8?q?refactor(accounts):=20=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E7=94=A8=E9=87=8F=E7=AA=97=E5=8F=A3=E6=98=BE=E7=A4=BA=EF=BC=8C?= =?UTF-8?q?=E7=BB=9F=E4=B8=80=20OAuth=20=E5=92=8C=20Setup=20Token=20?= =?UTF-8?q?=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Setup Token 账号现在也调用 API 获取 5h 窗口用量数据 - 重新设计 UsageProgressBar UI,将用量统计移到进度条上方 - 删除冗余的 SetupTokenTimeWindow 组件 - 请求数/Token数支持 K/M/B 单位显示 --- .../components/account/AccountUsageCell.vue | 42 ++-- .../account/SetupTokenTimeWindow.vue | 200 ------------------ .../components/account/UsageProgressBar.vue | 97 +++++---- 3 files changed, 79 insertions(+), 260 deletions(-) delete mode 100644 frontend/src/components/account/SetupTokenTimeWindow.vue diff --git a/frontend/src/components/account/AccountUsageCell.vue b/frontend/src/components/account/AccountUsageCell.vue index e47de5da..6b91d29f 100644 --- a/frontend/src/components/account/AccountUsageCell.vue +++ b/frontend/src/components/account/AccountUsageCell.vue @@ -1,24 +1,27 @@