fix(frontend): 状态文本国际化和错误处理修复

- AccountStatusIndicator: 状态文本使用 i18n
- CreateAccountModal: TypeScript 类型修复
- TempUnschedStatusModal: 错误处理改进
This commit is contained in:
ianshaw
2026-01-03 17:10:37 -08:00
parent 71bf5b9e77
commit d505c5b2f2
3 changed files with 4 additions and 4 deletions

View File

@@ -2460,7 +2460,7 @@ const handleCookieAuth = async (sessionKey: string) => {
const accountName = keys.length > 1 ? `${form.name} #${i + 1}` : form.name
// Merge interceptWarmupRequests into credentials
const credentials = {
const credentials: Record<string, unknown> = {
...tokenInfo,
...(interceptWarmupRequests.value ? { intercept_warmup_requests: true } : {})
}