Commit 52fd7620 by 胡悦

提交昵称授权

1 parent b214ef7d
......@@ -91,12 +91,9 @@ Page({
.login()
.then(({ data }) => {
wx.hideLoading()
console.log(data);
if (!data) {
this.setData({
hasUserInfo: false,
});
}
this.setData({
hasUserInfo: !!data,
});
if (data.phone) {
this.setData({
hasPhoneNumber: true,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!