更新时间:2023-12-04 16:34:54
我发现您可以使用此简单表达式来返回true
或false
,具体取决于用户是否在您的网站上登录了Google.
I figured out that you can use this simple expression that returns either true
or false
depending on whether the user is logged into Google on your website.
gapi.auth2.init().isSignedIn.get()