Files
device-voice-h5/openspec/changes/update-index-phone-bind-gate/tasks.md
sexygoat 3f997063f4
All checks were successful
构建并部署前端到生产环境 / build-and-deploy (push) Successful in 1m37s
fix: 优化体验
2026-05-09 16:14:06 +08:00

1.1 KiB

1. Login Redirect Responsibility

  • 1.1 Remove the bind-phone branching decision from the login success handler
  • 1.2 Make login success enter pages/index/index consistently

2. Index Entry Binding Gate

  • 2.1 Add a homepage-entry binding check in pages/index/index.vue
  • 2.2 Re-evaluate whether binding is required every time index is entered, not only after login
  • 2.3 Redirect from index to the bind-phone page when binding is still required

3. Bind Flow Compatibility

  • 3.1 Keep the bind-phone completion flow returning to index
  • 3.2 Ensure users who are already bound are not redirected away from index
  • 3.3 Ensure users who return to index without binding are checked again and redirected again if binding is still required

4. Regression Verification

  • 4.1 Verify login success always routes into index
  • 4.2 Verify entering index without a bound phone redirects to the bind page
  • 4.3 Verify entering index with a bound phone stays on the homepage
  • 4.4 Verify re-entering index through later navigation still rechecks binding state