Merge pull request #314 from sczheng189/feat/5xx-error-circuit-breaker

feat: 改进5xx错误熔断机制和重置状态功能
This commit is contained in:
Wesley Liddick
2025-09-02 09:32:08 +08:00
committed by GitHub
3 changed files with 12 additions and 4 deletions

View File

@@ -1431,7 +1431,8 @@ const resetAccountStatus = async (account) => {
if (data.success) {
showToast('账户状态已重置', 'success')
loadAccounts()
// 强制刷新,绕过前端缓存,确保最终一致性
loadAccounts(true)
} else {
showToast(data.message || '状态重置失败', 'error')
}