Files
ele-HeiXiu/index.html
YoungestSongMo 0d3d4fcd6a feat: 任务列表UI重构 + 分页器/登录错误/请求拦截修复
【任务列表 UI 重构】(TaskHistory.tsx)
  - 列重新排序、斑马纹/hover/选中样式、暗色主题适配
  - 列可见性选择器(齿轮图标),localStorage 持久化
  - 未知状态降级、视频时长从 ui_params.duration 计算
  - 分页器固定预留 48px

  【分页器修复】(antd-theme.ts)
  - Pagination 添加 itemActiveColor: '#fff',激活页码始终可见

  【登录错误信息修复】(request.ts)
  - HTTP 401 双重校验:status === 401 && data?.code === 401
  - 仅业务码 401 才走 token 刷新;其他业务码透传后端 message

  【全局中文】(ThemeProvider.tsx)
  - ConfigProvider locale={zhCN},分页器"条/页"等全局生效

  【上下文稳定性】(HomeContent.tsx)
  - contextValue useMemo 包裹

  【其他】
  - CSP 策略 COS 域名白名单
  - OutputTypeMap 枚举值修正
  - PROJECT.md 补充 401 判断策略和主题配置说明
2026-06-05 20:48:02 +08:00

22 lines
842 B
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!doctype html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8" />
<!-- 使用项目 Logo 作为 faviconWindows 可用 .ico -->
<link rel="icon" type="image/png" href="/src/assets/logo/HX.png" />
<!-- <meta name="viewport" content="width=device-width, initial-scale=1.0" />-->
<meta http-equiv="Content-Security-Policy" content="
default-src 'self';
script-src 'self' 'unsafe-inline';
style-src 'self' 'unsafe-inline';
img-src 'self' data: https://rh-images-1252422369.cos.ap-beijing.myqcloud.com https://www.heixiu.net ; ;
connect-src 'self' http://8.160.179.64:8000 http://localhost:5173 ws://localhost:5173 https://www.heixiu.net ;
">
<title>船长·HeiXiu</title>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>