]> acesimba.cloud Git - words.git/commit
fix: 复习模式进度记录 bug(WEB 版)
authorwords <words@local>
Thu, 23 Jul 2026 14:05:18 +0000 (22:05 +0800)
committerwords <words@local>
Thu, 23 Jul 2026 14:05:18 +0000 (22:05 +0800)
commitc06d003c38611766296da02189fde05d661c5144
tree2cce211f9a6b8d70d5e53c0ebb6bd93191f2e8dc
parentde45fbc972f929fc82bfe4c907b412538835605e
fix: 复习模式进度记录 bug(WEB 版)

- Home.js: 点击复习时通过 ?type=review1/2/3 传递活动类型
- TestMode.js: 读取 URL 的 type 参数,finishTest 按类型写入 op_type
  修复前 op_type 写死为 'test',导致复习完成不被记录;
  必须再点一次复习才能记录(与线下版本行为不一致)
- 重建前端 build
frontend/src/components/Home.js
frontend/src/components/TestMode.js