!93 【BUG修复】授权登录成功后,每次都要填昵称和重新上传头像。

Merge pull request !93 from heyho/N/A
pull/90/MERGE
芋道源码 2024-09-07 06:26:11 +00:00 committed by Gitee
commit 4be2b441f5
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 4 additions and 0 deletions

View File

@ -152,7 +152,11 @@
}
const loginRes = await sheep.$platform.useProvider(provider).login();
if (loginRes) {
const userInfo = await sheep.$store('user').getInfo();
closeAuthModal();
// ,
if(userInfo.avatar && userInfo.nickname) return;
//
// #ifdef MP-WEIXIN
showAuthModal('mpAuthorization');