wxd
/
MShopWeApp
Toggle navigation
Sign in
Sign in
Project
Files
Commits
Network
Graphs
Milestones
Issues
0
Merge Requests
0
Labels
Wiki
Download as
Email Patches
Plain Diff
Browse Code »
Commit
e73854b684b79c1429d9edaa4baf89243397ddde
Authored by
yvan.ni
2020-07-03 11:11:24 +0800
1 parent
07d9c77f
地址不能显示null
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
pages/user/userinfo/userinfo.js
pages/user/userinfo/userinfo.js
View file @
e73854b
...
...
@@ -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,
...
...