Commit dceeb5d5 by 陈玉桐

fix

parent 911745a9
......@@ -55,13 +55,16 @@ Page({
date: '2012-01-01',// 配镜日期
currentDate: '',
teenageId: '',//孩子id
},
onLoad: function (options) {
let me = this;
let myDate = new Date()
me.setData({
endDate: myDate.getFullYear()+'-'+(myDate.getMonth()+1)+'-'+myDate.getDate(),
currentDate: myDate.getFullYear()+'-'+(myDate.getMonth()+1)+'-'+myDate.getDate()
currentDate: myDate.getFullYear()+'-'+(myDate.getMonth()+1)+'-'+myDate.getDate(),
teenageId: options.id
})
// 请求前加Loading
wx.showLoading({
......@@ -322,6 +325,7 @@ Page({
method: 'POST',
data: {
token: wx.getStorageSync('token'),
teenageId: me.data.teenageId,
name: me.data.name,
birthday: me.data.birthday,
gender: me.data.sex,//性别
......
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