头条小程序登录优化

feat/task1-c-wallet
devil_gong 2019-10-28 11:06:11 +08:00
parent bcc43fd02a
commit 97dd73c053
1 changed files with 3 additions and 6 deletions

View File

@ -52,16 +52,13 @@ Page({
setTimeout(function(){
self.get_user_info_event();
}, 1000);
// 第一次失败使用授权后更新状态
self.setData({is_first_authorize_error: false});
} else {
app.showToast('请同意用户信息授权');
tt.openSetting();
}
// 头条bug-第一次失败使用授权后更新状态
if(self.data.is_first_authorize_error == true)
{
self.setData({is_first_authorize_error: false});
}
}
});
} else {