Przeglądaj źródła

[参加活动][修改]:[修改报名接口的字段名称]

tags/C.7.1.0
meo 6 lat temu
rodzic
commit
ea03fe06e1
1 zmienionych plików z 4 dodań i 4 usunięć
  1. +4
    -4
      pages/radetail/joinActivity/edit.js

+ 4
- 4
pages/radetail/joinActivity/edit.js Wyświetl plik

@@ -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
}
})


Ładowanie…
Anuluj
Zapisz