You must include the script and include the client API in addition to the plusone script:<script src="https://apis.google.com/js/client:plusone.js" type="application/javascript"></script>演示页面做错了,我已经修复了.The demo page was doing it incorrectly, which I've fixed. 这篇关于获取“gapi.client 未定义"尝试检索经过身份验证的 Google+ 用户的电子邮件地址时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!
07-01 11:27