From 7f5eedde8cbeed85c173d3c9fc906b51e4f518a6 Mon Sep 17 00:00:00 2001 From: "xinxin.wu" Date: Wed, 11 Nov 2026 14:42:06 +0800 Subject: [PATCH] fix: system chat user token quota --- ui/src/views/system/chat-management/users/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/views/system/chat-management/users/index.vue b/ui/src/views/system/chat-management/users/index.vue index d5036d396c6..62775ef8c8e 100644 --- a/ui/src/views/system/chat-management/users/index.vue +++ b/ui/src/views/system/chat-management/users/index.vue @@ -54,7 +54,7 @@ const chatUserQuery = computed>(() => ({ })) function formatQuotaUsage(tokenQuota?: ChatUser['token_quota']) { - if (!tokenQuota) return '-' + if (!tokenQuota) return '0 / 不限' const used = formatTokenNumber(tokenQuota.used_tokens) if (tokenQuota.quota_type === QUOTA_TYPE.UNLIMITED) return `${used} / 不限` return `${used} / ${formatTokenNumber(tokenQuota.token_limit)}`