feat(plan): 优化年龄与出生年月日联动逻辑
- 调整字段顺序:年龄在前,出生年月日在后 - 实现年龄 → 出生年月日自动计算(默认1月1日) - 保留出生年月日 → 年龄双向联动 - 简化占位符文案,避免用户理解混乱 - 修复 AgePicker 组件不触发 change 事件的问题 - 添加调试日志便于排查问题 影响文件: - src/components/PlanFields/AgePicker.vue: 添加 change 事件支持 - src/components/PlanTemplates/LifeInsuranceTemplate.vue: 调整逻辑 - src/components/PlanTemplates/CriticalIllnessTemplate.vue: 调整逻辑 - src/components/PlanTemplates/SavingsTemplate.vue: 调整逻辑 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Showing
4 changed files
with
146 additions
and
36 deletions
-
Please register or login to post a comment