fix: 增强学习流程与数据处理的稳定性

- 确保异步提词操作结束后可靠恢复按钮状态
- 改进批量文件解析、清空操作与来源列表同步
- 防止复习提前完成,并拦截无效的会话跳转
- 校验 AI 翻译数据并保留 JSON 最外层结构
- 仅使用测验记录计算正确率和易错单词排名
- 限制自动播放设置范围,并在词表变化时停止播放
- 避免云端语音被中断后触发重复的降级朗读
- 改进 Service Worker 对临时网络故障的缓存回退
- 增加 AI 响应解析和测验统计相关测试
This commit is contained in:
eddy
2026-07-30 01:47:54 +08:00
parent 738275b493
commit 5a7149151e
19 changed files with 520 additions and 192 deletions
+1
View File
@@ -3,6 +3,7 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover">
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="default">
<meta name="theme-color" content="#6366f1">