Commit 0e06b7c8 authored by tao.huang's avatar tao.huang

fix: 修复信息提交问题

parent 2a642d0b
...@@ -542,7 +542,10 @@ const onSubmit = async (e) => { ...@@ -542,7 +542,10 @@ const onSubmit = async (e) => {
} }
const data = { const data = {
dueDate: formData.value.dueDate || formData.value.babyBirthday, dueDate:
formData.value.babyStage == 2
? formData.value.babyBirthday
: formData.value.dueDate,
babyType: formData.value.babyType, babyType: formData.value.babyType,
contentPreference: formData.value.contentPreference, contentPreference: formData.value.contentPreference,
followInfo: formData.value.followInfo, followInfo: formData.value.followInfo,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment