diff --git a/pages/my/info-edit/index.js b/pages/my/info-edit/index.js index c2b541e..c9cb060 100644 --- a/pages/my/info-edit/index.js +++ b/pages/my/info-edit/index.js @@ -121,6 +121,7 @@ Page({ prenatal_check_type: false, delivery_type: false, }, + timePickerTitle: '选择日期', }, onLoad() { @@ -139,11 +140,11 @@ Page({ operative_date: info.operative_date, delivery_type: info.delivery_type, prenatal_check_type: info.prenatal_check_type, - gestational_week: info.gestational_week, + gestational_week: info.gestational_week ? info.gestational_week : '', conception_type: info.conception_type, birth_number: info.birth_number, parity_number: info.parity_number, - birth_weight: info.birth_weight, + birth_weight: info.birth_weight ? info.birth_weight : '', prenatal_check_remark: info.prenatal_check_remark, avatar: info.avatar ? info.avatar : 'https://image-fudan.oss-cn-beijing.aliyuncs.com/mini_images/my/baby.png', } diff --git a/pages/my/info-edit/index.wxml b/pages/my/info-edit/index.wxml index 969da20..9c83e5c 100644 --- a/pages/my/info-edit/index.wxml +++ b/pages/my/info-edit/index.wxml @@ -90,7 +90,7 @@ 保存 - +