bug修复v2
This commit is contained in:
@@ -331,7 +331,7 @@ onMounted(() => {
|
|||||||
const idToken = response.credential;
|
const idToken = response.credential;
|
||||||
|
|
||||||
if (idToken) {
|
if (idToken) {
|
||||||
oauthToken({ idToken: [idToken], grant_type: 'google' })
|
oauthToken({ idToken: [idToken], grant_type: 'google', scope: 'server' })
|
||||||
.then(() => {
|
.then(() => {
|
||||||
emitter.emit(NOTICE_EVENT_LOGIN_SUCCESS);
|
emitter.emit(NOTICE_EVENT_LOGIN_SUCCESS);
|
||||||
return navigateAfterLogin()
|
return navigateAfterLogin()
|
||||||
|
|||||||
Reference in New Issue
Block a user