mirror of
https://gitee.com/zongzhige/shopxo.git
synced 2024-12-03 20:39:59 +08:00
微信小程序参数不存在处理
This commit is contained in:
parent
e436400933
commit
19144dd012
@ -70,7 +70,7 @@ Page({
|
|||||||
}
|
}
|
||||||
self.setData({
|
self.setData({
|
||||||
avatar: user.avatar || app.data.default_user_head_src,
|
avatar: user.avatar || app.data.default_user_head_src,
|
||||||
nickname: user.nickname,
|
nickname: user.nickname || '',
|
||||||
});
|
});
|
||||||
wx.stopPullDownRefresh();
|
wx.stopPullDownRefresh();
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user