TuringToken/web/src
xiezhouwei e29f61aa68 fix: 评测页面 401 拦截器导致未登录用户被重定向到登录页
根因:Benchmarks 页面加载时调用 API.get('/api/option/'),
未登录用户返回 401 → axios 拦截器 → showError() → window.location.href = '/login'

修复:添加 skipErrorHandler: true 参数,跳过全局错误拦截,
API 失败时静默回退到离线默认数据
2026-06-17 11:25:47 +08:00
..
components fix: 首页导航栏样式对齐 tokendance.space + 主题切换修复 2026-06-17 10:23:39 +08:00
constants fix: 首页导航栏样式对齐 tokendance.space + 主题切换修复 2026-06-17 10:23:39 +08:00
context Initial commit 2026-06-03 10:01:10 +08:00
contexts Initial commit 2026-06-03 10:01:10 +08:00
helpers fix: 首页导航栏样式对齐 tokendance.space + 主题切换修复 2026-06-17 10:23:39 +08:00
hooks fix: 首页导航栏样式对齐 tokendance.space + 主题切换修复 2026-06-17 10:23:39 +08:00
i18n fix: 首页导航栏样式对齐 tokendance.space + 主题切换修复 2026-06-17 10:23:39 +08:00
pages fix: 评测页面 401 拦截器导致未登录用户被重定向到登录页 2026-06-17 11:25:47 +08:00
services Initial commit 2026-06-03 10:01:10 +08:00
App.jsx fix: 首页导航栏样式对齐 tokendance.space + 主题切换修复 2026-06-17 10:23:39 +08:00
index.css fix: 首页导航栏样式对齐 tokendance.space + 主题切换修复 2026-06-17 10:23:39 +08:00
index.jsx Initial commit 2026-06-03 10:01:10 +08:00