From ea03fe06e1697805f076ada8885bddf032f593ca Mon Sep 17 00:00:00 2001 From: meo <18801474720@163.com> Date: Thu, 13 Jun 2019 10:24:50 +0800 Subject: [PATCH] =?UTF-8?q?[=E5=8F=82=E5=8A=A0=E6=B4=BB=E5=8A=A8][?= =?UTF-8?q?=E4=BF=AE=E6=94=B9]:[=E4=BF=AE=E6=94=B9=E6=8A=A5=E5=90=8D?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E7=9A=84=E5=AD=97=E6=AE=B5=E5=90=8D=E7=A7=B0?= =?UTF-8?q?]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/radetail/joinActivity/edit.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pages/radetail/joinActivity/edit.js b/pages/radetail/joinActivity/edit.js index aebecf1..656541e 100644 --- a/pages/radetail/joinActivity/edit.js +++ b/pages/radetail/joinActivity/edit.js @@ -90,11 +90,11 @@ Page({ var username = null; } if (that.data.flag == 2 && that.data.date) { - var birthdate = new Date(that.data.date).getTime(); + var birthday = new Date(that.data.date).getTime(); } else { - var birthdate = null; + var birthday = null; } - if (username == null || address == null || sex == 0 || birthdate == null) { + if (username == null || address == null || sex == 0 || birthday == null) { wx.showToast({ title: '请输入完整的用户信息', icon:"none" @@ -106,7 +106,7 @@ Page({ sex: sex, address: address, name: username, - birthdate: birthdate, + birthday: birthday, activityId: that.data.activityId } })