diff --git a/ui/src/conversation-panel/left-sidebar/account-menu/index.vue b/ui/src/conversation-panel/left-sidebar/account-menu/index.vue
index 8a51f9eb5d4..a78da6162bd 100644
--- a/ui/src/conversation-panel/left-sidebar/account-menu/index.vue
+++ b/ui/src/conversation-panel/left-sidebar/account-menu/index.vue
@@ -72,23 +72,21 @@ const goLogin = () => {
{{ account?.username || '-' }}
-
-
- Tokens
- {{ formatTokenNumber(account?.token_quota?.used_tokens) }}
-
- /{{ account?.token_quota?.quota_type === QUOTA_TYPE.UNLIMITED ? '不限' : formatTokenNumber(account?.token_quota?.token_limit) }}
-
-
+
+ Tokens
+ {{ formatTokenNumber(account?.token_quota?.used_tokens ?? 0) }}
+
+ /{{ !account?.token_quota || account?.token_quota?.quota_type === QUOTA_TYPE.UNLIMITED ? '不限' : formatTokenNumber(account?.token_quota?.token_limit) }}
+
+
-
-
+