TuringToken/web
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
..
public Initial commit 2026-06-03 10:01:10 +08:00
src fix: 评测页面 401 拦截器导致未登录用户被重定向到登录页 2026-06-17 11:25:47 +08:00
.eslintrc.cjs Initial commit 2026-06-03 10:01:10 +08:00
.gitignore Initial commit 2026-06-03 10:01:10 +08:00
.prettierrc.mjs Initial commit 2026-06-03 10:01:10 +08:00
bun.lock Initial commit 2026-06-03 10:01:10 +08:00
i18next.config.js Initial commit 2026-06-03 10:01:10 +08:00
index.html fix: 首页导航栏样式对齐 tokendance.space + 主题切换修复 2026-06-17 10:23:39 +08:00
jsconfig.json Initial commit 2026-06-03 10:01:10 +08:00
package.json fix: 首页导航栏样式对齐 tokendance.space + 主题切换修复 2026-06-17 10:23:39 +08:00
pnpm-lock.yaml fix: 首页导航栏样式对齐 tokendance.space + 主题切换修复 2026-06-17 10:23:39 +08:00
pnpm-workspace.yaml fix: 首页导航栏样式对齐 tokendance.space + 主题切换修复 2026-06-17 10:23:39 +08:00
postcss.config.js Initial commit 2026-06-03 10:01:10 +08:00
tailwind.config.js fix: 首页导航栏样式对齐 tokendance.space + 主题切换修复 2026-06-17 10:23:39 +08:00
vercel.json Initial commit 2026-06-03 10:01:10 +08:00
vite.config.js.timestamp-1775640150570-3760be0bbdc73.mjs Initial commit 2026-06-03 10:01:10 +08:00