Commit e73854b684b79c1429d9edaa4baf89243397ddde

Authored by yvan.ni
1 parent 07d9c77f

地址不能显示null

pages/user/userinfo/userinfo.js
... ... @@ -639,6 +639,11 @@ Page({
639 639  
640 640 a.reg_time = time;
641 641 a.birthday = birthday
  642 +
  643 + if(a.address=='null' || !a.address){
  644 + a.address="";
  645 + }
  646 +
642 647 e.setData({
643 648 phone: a.mobile,
644 649 user: a,
... ...