Internet explorer (添加谷歌登录)为什么在IE(InternetExplorer)11版本中不会调用;onSignIn()“;功能?

Internet explorer (添加谷歌登录)为什么在IE(InternetExplorer)11版本中不会调用;onSignIn()“;功能?,internet-explorer,google-signin,Internet Explorer,Google Signin,我开发了一个登录功能。 请注意以下url 网址: IE(Internet Explorer)10版将正常运行。但是IE(InternetExplorer)11版本没有调用onSignIn()函数 <Html lang = "en">   <Head>     <Meta name = "google-signin-scope" content = "profile email">     <Meta name = "google-signin-clien

我开发了一个登录功能。 请注意以下url

网址:

IE(Internet Explorer)10版将正常运行。但是IE(InternetExplorer)11版本没有调用onSignIn()函数

<Html lang = "en">
  <Head>
    <Meta name = "google-signin-scope" content = "profile email">
    <Meta name = "google-signin-client_id" content = "YOUR_CLIENT_ID.apps.googleusercontent.com">
    <Script src = "https://apis.google.com/js/platform.js" async defer> </ script>
  </ Head>
  <Body>
    <Div class = "g-signin2" data-onsuccess = "onSignIn" data-theme = "dark"> </ div>
    <Script>
      function onSignIn (googleUser) {
        // Useful data for your client-side scripts:
        var profile = googleUser.getBasicProfile ();
        console.log ("ID:" + profile.getId ()); // Do not send this directly to your server!
        console.log ("Name:" + profile.getName ());
        console.log ("Image URL:" + profile.getImageUrl ());
        console.log ("Email:" + profile.getEmail ());

        // The ID token you need to pass to your backend:
        var id_token = googleUser.getAuthResponse () id_token.;
        console.log ("ID Token:" + id_token);
      };
    </ Script>
  </ Body>
</ Html>

  
    
    
     
  
  
     
    
函数onSignIn(谷歌用户){
//客户端脚本的有用数据:
var profile=googleUser.getBasicProfile();
console.log(“ID:+profile.getId());//不要直接将其发送到服务器!
console.log(“Name:+profile.getName());
console.log(“图像URL:+profile.getImageUrl());
console.log(“电子邮件:+profile.getEmail());
//需要传递到后端的ID令牌:
var id_token=googleUser.getAuthResponse()id_token。;
console.log(“ID令牌:+ID_令牌”);
      };
    
  
为什么IE(InternetExplorer)11版本中不调用“onSignIn()”函数? 多谢各位