bugfix: 取消onetap

This commit is contained in:
zhangyahui
2025-11-05 11:40:17 +08:00
parent 2e4b8f1661
commit 618e82bc95
2 changed files with 11 additions and 6 deletions

3
env.d.ts vendored
View File

@@ -8,8 +8,10 @@ interface GoogleAccounts {
client_id: string
auto_select?: boolean
callback: (response: { credential: string }) => void
context?: 'signin' | 'signup' | 'use'
ux_mode?: 'popup' | 'redirect'
itp_support?: boolean
cancel_on_tap_outside?: boolean
}) => void
renderButton: (element: Element | null, config: {
type?: 'standard' | 'icon'
@@ -18,6 +20,7 @@ interface GoogleAccounts {
size?: 'large' | 'medium' | 'small'
logo_alignment?: 'left' | 'center'
}) => void
disableAutoSelect?: () => void
}
}
}