提交 068f12f33295534ad533c491bcb36277da5b877a

作者 pangy
1 个父辈 2dd2db1c

生日 字符串

... ... @@ -422,7 +422,7 @@ Page({
422 422 this.data.birthDate.selected = ''
423 423 } else {
424 424 // this.data.birthDate.selected = format.yearFormString(tax_info.birth_date) + '-' + format.monthFormString(tax_info.birth_date) + '-' + format.dayFormString(tax_info.birth_date)
425   - this.data.birthDate.selected = format.formatTime_date(tax_info.birth_date)
  425 + this.data.birthDate.selected = tax_info.birth_date_str //format.formatTime_date(tax_info.birth_date)
426 426 }
427 427 //非必填
428 428 console.log('this.data.birthDate', new Date(tax_info.birth_date).toLocaleDateString())
... ... @@ -511,6 +511,9 @@ Page({
511 511 "Authorization": Authorization
512 512 },
513 513 success: function(res) {
  514 + if (res.data.items.length<1){
  515 + return
  516 + }
514 517 proffession_info.values = that.handleProfession(res.data.items)
515 518 console.log('proffession_info------', proffession_info)
516 519 that.setData({
... ...
注册登录 后发表评论