Pre Merge pull request !93 from heyho/N/A

pull/93/MERGE
heyho 2024-09-07 06:23:41 +00:00 committed by Gitee
commit b801f4d62c
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(); const loginRes = await sheep.$platform.useProvider(provider).login();
if (loginRes) { if (loginRes) {
const userInfo = await sheep.$store('user').getInfo();
closeAuthModal(); closeAuthModal();
// ,
if(userInfo.avatar && userInfo.nickname) return;
// //
// #ifdef MP-WEIXIN // #ifdef MP-WEIXIN
showAuthModal('mpAuthorization'); showAuthModal('mpAuthorization');