rwadurian/frontend/mobile-app/lib/features
hailin e08959263a fix(mobile-app): 修复待办操作完成后无法正确返回的问题
问题:
- 合同签署成功后使用 context.go('/profile') 直接跳转
- 导致从待办操作或待签合同列表 push 进来时收不到返回值
- 认种向导完成后同样使用 go 跳转,不会返回

修复:
1. contract_signing_page.dart
   - 签署成功后检查 canPop() 判断是否可以返回
   - 如果可以 pop(从待办操作/待签列表进入),返回 pop(true)
   - 否则(从认种流程/KYC流程进入),跳转 go('/profile')

2. pending_actions_page.dart
   - ADOPTION_WIZARD 添加后置检查(通过待签合同判断认种是否完成)
   - 在 _checkIfAlreadyCompleted 中添加 ADOPTION_WIZARD 检查逻辑

兼容性:
- 不影响正常的认种流程(使用 go 进入合同签署)
- 不影响 KYC 流程(使用 go 进入合同签署)
- 待签合同列表页面正常工作

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-03 18:21:26 -08:00
..
account/presentation/pages feat(mobile-app,admin): 添加系统维护功能和通知徽章功能 2025-12-27 23:26:01 -08:00
auth/presentation feat(pending-actions): add user pending actions system 2026-01-02 18:22:51 -08:00
authorization/presentation feat(mobile-app): 流水明细支持显示权益类型和详情 2025-12-26 03:57:35 -08:00
contract_signing/presentation fix(mobile-app): 修复待办操作完成后无法正确返回的问题 2026-01-03 18:21:26 -08:00
deposit/presentation/pages fix(mobile-app): 优化数字显示组件防止自动换行 2025-12-23 18:33:51 -08:00
home/presentation chore(mobile-app): 减少频繁轮询产生的调试日志 2025-12-28 06:54:16 -08:00
kyc feat(mobile-app): KYC成功后自动跳转合同签署页面 2025-12-25 07:07:43 -08:00
mining/presentation/pages fix(mobile-app): 优化数字显示组件防止自动换行 2025-12-23 18:33:51 -08:00
notification/presentation/pages feat(mobile-app,admin): 添加系统维护功能和通知徽章功能 2025-12-27 23:26:01 -08:00
pending_actions/presentation/pages fix(mobile-app): 修复待办操作完成后无法正确返回的问题 2026-01-03 18:21:26 -08:00
planting/presentation feat(mobile-app): KYC成功后自动跳转合同签署页面 2025-12-25 07:07:43 -08:00
profile/presentation feat: "同僚"改为"同伴" + KYC从三要素改为二要素 2026-01-02 04:20:42 -08:00
ranking/presentation/pages fix(mobile-app): 优化数字显示组件防止自动换行 2025-12-23 18:33:51 -08:00
security/presentation/pages feat(email): 实现邮箱绑定/解绑功能 2025-12-23 20:53:20 -08:00
share/presentation/pages feat(frontend): 多项功能改进 2025-12-15 04:04:21 -08:00
trading/presentation/pages feat(trading): enable one-click settlement button 2026-01-03 07:38:57 -08:00
withdraw/presentation/pages feat(fiat-withdrawal): add complete fiat withdrawal system 2026-01-03 06:39:11 -08:00