fix: 补全 auth-check-end 性能标记(AbortError 路径)

- 在 checkSession 的 AbortError 分支添加缺失的 auth-check-end 标记
- 确保所有代码路径都正确标记性能监控点

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
zdl
2025-12-08 10:24:55 +08:00
parent a53e36d7e0
commit 62bcf15cdf

View File

@@ -171,6 +171,8 @@ export const AuthProvider = ({ children }) => {
reason: error.message || 'Request cancelled',
isTimeout: error.message?.includes('timeout')
});
// ⚡ 性能标记认证检查结束AbortError 情况)
performanceMonitor.mark('auth-check-end');
// AbortError不改变登录状态保持原状态
return;
}