bug修复v2

This commit is contained in:
andy
2026-06-26 10:57:37 +08:00
parent 9be0fadd69
commit 305b34f8f5

View File

@@ -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()