fix(plan): 支持从出生年月日推算年龄判断多阶段提取方案
当用户只填了生日而没填年龄时,现在可以从 birthday 自动 推算年龄,用于判断是 3 阶段还是 1 阶段提取方案。 - 新增 effectiveAge 计算属性,优先使用 age,否则从 birthday 推算 - 更新 canAddStage、canRemoveStage、initializeStages 使用有效年龄 - 监听 effectiveAge 变化而不是只监听 form.age Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Showing
2 changed files
with
67 additions
and
17 deletions
-
Please register or login to post a comment